You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[List of available CodeMirror themas](https://codemirror.net/demo/theme.html)
368
+
[List of available CodeMirror themes](https://codemirror.net/demo/theme.html)
369
369
370
370
or an object with `url` and `name` properties where `url` should lead to
371
371
your custom theme and `name` would be passed to the `GraphiQL`
@@ -392,7 +392,7 @@ For details see the [GraphiQL spec](https://github.com/graphql/graphiql/tree/mas
392
392
393
393
GraphQL's [validation phase](https://graphql.github.io/graphql-spec/#sec-Validation) checks the query to ensure that it can be successfully executed against the schema. The `validationRules` option allows for additional rules to be run during this phase. Rules are applied to each node in an AST representing the query using the Visitor pattern.
394
394
395
-
A validation rule is a function which returns a visitor for one or more node Types. Below is an example of a validation preventing the specific fieldname`metadata` from being queried. For more examples see the [`specifiedRules`](https://github.com/graphql/graphql-js/tree/main/src/validation/rules) in the [graphql-js](https://github.com/graphql/graphql-js) package.
395
+
A validation rule is a function which returns a visitor for one or more node Types. Below is an example of a validation preventing the specific field name`metadata` from being queried. For more examples see the [`specifiedRules`](https://github.com/graphql/graphql-js/tree/main/src/validation/rules) in the [graphql-js](https://github.com/graphql/graphql-js) package.
0 commit comments