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

Function isSchemaDeprecated

scripts/codegen/utils.ts:621–623  ·  view source on GitHub ↗
(schema: JSONSchema7 | null | undefined)

Source from the content-addressed store, hash-verified

619
620/** Returns true when a JSON Schema node is marked as deprecated. */
621export function isSchemaDeprecated(schema: JSONSchema7 | null | undefined): boolean {
622 return typeof schema === "object" && schema !== null && (schema as Record<string, unknown>).deprecated === true;
623}
624
625/** Returns true when a JSON Schema node is marked as experimental. */
626export function isSchemaExperimental(schema: JSONSchema7 | null | undefined): boolean {

Callers 15

emitRustTypeAliasFunction · 0.85
emitRustStructFunction · 0.85
generateDerivedClassFunction · 0.85
generateNestedClassFunction · 0.85
generateDataClassFunction · 0.85
resolveRpcTypeFunction · 0.85
emitRpcClassFunction · 0.85
pushGoFieldMarkersFunction · 0.85
resolveGoPropertyTypeFunction · 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…