MCPcopy Create free account
hub / github.com/2fd/graphdoc / argumentDescription

Method argumentDescription

plugins/document.schema/index.ts:149–155  ·  view source on GitHub ↗
(arg: InputValue)

Source from the content-addressed store, hash-verified

147 }
148
149 argumentDescription(arg: InputValue): string[] {
150
151 const desc = arg.description === null ?
152 '[' + html.highlight('Not documented') + ']' : arg.description;
153
154 return this.description(html.highlight(arg.name) + ': ' + desc);
155 }
156
157 argumentsDescription(fieldOrDirectives: Field | Directive): string[] {
158

Callers 1

reduceArgumentsMethod · 0.95

Calls 2

descriptionMethod · 0.95
highlightMethod · 0.80

Tested by

no test coverage detected