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

Method arguments

plugins/document.schema/index.ts:111–122  ·  view source on GitHub ↗
(fieldOrDirectives: Field | Directive)

Source from the content-addressed store, hash-verified

109 }
110
111 arguments(fieldOrDirectives: Field | Directive): string {
112
113 if (fieldOrDirectives.args.length === 0) {
114 return '';
115 }
116
117 return '(' +
118 fieldOrDirectives.args
119 .map((arg) => this.argument(arg))
120 .join(', ') +
121 ')';
122 }
123
124 argumentsLength(fieldOrDirectives: Field | Directive): number {
125

Callers 2

directiveMethod · 0.95
fieldMethod · 0.95

Calls 1

argumentMethod · 0.95

Tested by

no test coverage detected