Can be used to set the equally named option for introspecting a GraphQL server.
Can be used to set a custom operation name for the introspection query.
Explicitly provide the GraphiQL schema that shall be used for GraphiQL. If this props is...
null
, no introspection request will be triggered and
GraphiQL will run without a schema.undefined
or not set at all, an introspection request will
be triggered. If this request succeeds, a GraphQL schema will be built
from the returned introspection data, it will be validated, and then
used for GraphiQL if it is valid. If this request fails, GraphiQL will
run without a schema.Can be used to set the equally named option for introspecting a GraphQL server.
Invoked after a new GraphQL schema was built. This includes both fetching
the schema via introspection and passing the schema using the schema
prop.
The GraphQL schema that is now used for GraphiQL.
Generated using TypeDoc
This prop can be used to skip validating the GraphQL schema. This applies to both schemas fetched via introspection and schemas explicitly passed via the
schema
prop.IMPORTANT NOTE: Without validating the schema, GraphiQL and its components are vulnerable to numerous exploits and might break. Only use this prop if you have full control over the schema passed to GraphiQL.
false