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

Function getMethodResultSchema

scripts/codegen/csharp.ts:1446–1448  ·  view source on GitHub ↗
(method: RpcMethod)

Source from the content-addressed store, hash-verified

1444}
1445
1446function getMethodResultSchema(method: RpcMethod): JSONSchema7 | undefined {
1447 return resolveSchema(method.result, rpcDefinitions) ?? method.result ?? undefined;
1448}
1449
1450function resultTypeName(method: RpcMethod): string {
1451 return getCSharpSchemaTypeName(getMethodResultSchema(method), `${typeToClassName(method.rpcMethod)}Result`);

Callers 8

resultTypeNameFunction · 0.70
resolvedResultTypeNameFunction · 0.70
handlerTaskTypeFunction · 0.70
resultTaskTypeFunction · 0.70
emitServerInstanceMethodFunction · 0.70
emitSessionMethodFunction · 0.70

Calls 1

resolveSchemaFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…