Variable useSchemaStoreConst
useSchemaStore: () => {
fetchError: string
| null;
introspect: () => Promise<void>;
isFetching: boolean;
schema: MaybeGraphQLSchema;
validationErrors: readonly GraphQLError[];
} = useSchemaContext
Type Declaration
- (): {
fetchError: string
| null;
introspect: () => Promise<void>;
isFetching: boolean;
schema: MaybeGraphQLSchema;
validationErrors: readonly GraphQLError[];
} Returns {
fetchError: string | null;
introspect: () => Promise<void>;
isFetching: boolean;
schema: MaybeGraphQLSchema;
validationErrors: readonly GraphQLError[];
}
fetchError: string | null
introspect: () => Promise<void>
isFetching: boolean
schema: MaybeGraphQLSchema
validationErrors: readonly GraphQLError[]
Deprecated
Use
useGraphiQLActionsanduseGraphiQLhooks instead.