We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8627de8 commit e10a06cCopy full SHA for e10a06c
site/docs/APIReference-Utilities.md
@@ -206,7 +206,7 @@ AST during a recursive descent by calling `enter(node)` and `leave(node)`.
206
### isValidJSValue
207
208
```js
209
-function isValidJSValue(value: any, type: GraphQLInputType): boolean
+function isValidJSValue(value: any, type: GraphQLInputType): string[]
210
```
211
212
Given a JavaScript value and a GraphQL type, determine if the value will be
@@ -219,7 +219,7 @@ runtime values of query variables.
219
function isValidLiteralValue(
220
type: GraphQLInputType,
221
valueAST: Value
222
-): boolean
+): string[]
223
224
225
Utility for validators which determines if a value literal AST is valid given
0 commit comments