MCPcopy Index your code
hub / github.com/github/copilot-sdk / goUnionHasExternalRef

Function goUnionHasExternalRef

scripts/codegen/go.ts:2172–2174  ·  view source on GitHub ↗
(members: JSONSchema7[])

Source from the content-addressed store, hash-verified

2170}
2171
2172function goUnionHasExternalRef(members: JSONSchema7[]): boolean {
2173 return members.some((member) => typeof member.$ref === "string" && parseExternalSchemaRef(member.$ref) !== undefined);
2174}
2175
2176function collectGoDiscriminatedUnionVariantDefinitionTypeNames(
2177 definitions: Record<string, JSONSchema7>,

Callers 1

planGoUnionFunction · 0.85

Calls 1

parseExternalSchemaRefFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…