MCPcopy Create free account
hub / github.com/zenstackhq/zenstack / makeIdKey

Method makeIdKey

packages/server/src/api/rest/index.ts:2137–2139  ·  view source on GitHub ↗
(idFields: FieldDef[])

Source from the content-addressed store, hash-verified

2135 }
2136
2137 private makeIdKey(idFields: FieldDef[]) {
2138 return idFields.map((idf) => idf.name).join(this.idDivider);
2139 }
2140
2141 private makeDefaultIdKey(idFields: FieldDef[]) {
2142 // TODO: support `@@id` with custom name

Callers 3

buildSerializersMethod · 0.95
getIdMethod · 0.95
injectCompoundIdMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected