Skip to main content

Module ids

Module ids 

Source
Expand description

Identifier newtypes: tenant, project, vertex, edge, namespace, type name. Each is a thin wrapper so ids of different planes can’t be mixed up silently.

Structs§

EdgeId
Edge id (assigned by the caller in writerGraph, e.g. “e1”).
Namespace
Project namespace (e.g. “Antares”). Prepended to all type names at the SPG layer (Antares.Deal).
ProjectId
Project identifier. A project lives under one tenant and has its own schema namespace.
TenantId
Tenant identifier. Tenants are the top-level isolation boundary.
TypeName
Namespace-qualified SPG type name, e.g. Antares.Deal or Antares.Chunk.
VertexId
Vertex business id (the id field on the wire, e.g. “deal_hooli_001”).