Skip to content

resolveEntityReferences

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/parser-core/src/techdocs/resolve-references.ts

Rewrite dangling edges onto the entities they name.

Mutates relationships in place — the entity graph is passed around by reference through the whole pipeline, and copying it at this size is not free.

Signature

ts
function resolveEntityReferences(entities: Entity[], relationships: Relationship[]): ReferenceResolutionResult

Parameters

NameType
entitiesEntity[]
relationshipsRelationship[]

Returns: ReferenceResolutionResult

Was this page helpful?

Download as PDF