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

Function localRequestVariableName

scripts/codegen/csharp.ts:333–335  ·  view source on GitHub ↗
(paramEntries: [string, JSONSchema7Definition][], hasRequestParameter = false)

Source from the content-addressed store, hash-verified

331}
332
333function localRequestVariableName(paramEntries: [string, JSONSchema7Definition][], hasRequestParameter = false): string {
334 return hasRequestParameter || paramEntries.some(([name]) => name === "request") ? "rpcRequest" : "request";
335}
336
337function schemaTypeToCSharp(schema: JSONSchema7, required: boolean, knownTypes: Map<string, string>, propName?: string): string {
338 if (isOpaqueJson(schema)) {

Callers 2

emitServerInstanceMethodFunction · 0.85
emitSessionMethodFunction · 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…