Closed kyle-villeneuve closed 2 years ago
When the option processArguments: "compact" is specified, the __arguments list will be assembled as an object instead of an array. e.g.
processArguments: "compact"
__arguments
__arguments: { argumentName: { kind: 'Variable', value: false }, weight: { kind: 'FloatValue', value: 123.4 }, }
vs
__arguments: [ { "argumentName": { "kind": "Variable", "value": false } }, { "weight": { "kind": "FloatValue", "value": 123.4 } } ]
this will also require an update to the type definitions located at: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/graphql-fields/index.d.ts
@kyle-villeneuve this library is deprecated and no longer accepting new features. I recommend migrating to graphql-parse-resolve-info.
When the option
processArguments: "compact"
is specified, the__arguments
list will be assembled as an object instead of an array. e.g.vs
this will also require an update to the type definitions located at: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/graphql-fields/index.d.ts