MCPcopy
hub / github.com/fastify/fast-json-stringify / getMergedLocation

Function getMergedLocation

index.js:85–88  ·  view source on GitHub ↗
(context, mergedSchemaId)

Source from the content-addressed store, hash-verified

83}
84
85function getMergedLocation (context, mergedSchemaId) {
86 const mergedSchema = context.refResolver.getSchema(mergedSchemaId, '#')
87 return new Location(mergedSchema, mergedSchemaId, '#')
88}
89
90function getSchemaId (schema, rootSchemaId) {
91 if (schema.$id && schema.$id.charAt(0) !== '#') {

Callers 3

buildAllOfFunction · 0.85
buildOneOfFunction · 0.85
buildIfThenElseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…