(fieldOrDirectives: Field | Directive)
| 131 | } |
| 132 | |
| 133 | argumentsMultiline(fieldOrDirectives: Field | Directive): string[] { |
| 134 | |
| 135 | if (fieldOrDirectives.args.length === 0) { |
| 136 | return []; |
| 137 | } |
| 138 | |
| 139 | const maxIndex = fieldOrDirectives.args.length - 1; |
| 140 | return fieldOrDirectives.args |
| 141 | .map((arg, index) => { |
| 142 | |
| 143 | return index < maxIndex ? |
| 144 | this.argument(arg) + ',' : |
| 145 | this.argument(arg); |
| 146 | }); |
| 147 | } |
| 148 | |
| 149 | argumentDescription(arg: InputValue): string[] { |
| 150 |