A function to determine which field leafs are automatically added when
trying to execute a query with missing selection sets. It will be called
with the GraphQLType
for which fields need to be added.
If there is currently a GraphQL request in-flight. For multipart
requests like subscriptions, this will be true
while fetching the
first partial response and false
while fetching subsequent batches.
The operation name that will be sent with all GraphQL requests.
Represents an active GraphQL subscription.
For multipart operations such as subscriptions, this
will hold an Unsubscribable
object while the request is in-flight. It
remains non-null until the operation completes or is manually unsubscribed.
Generated using TypeDoc
A function which accepts GraphQL HTTP parameters and returns a
Promise
,Observable
orAsyncIterable
that returns the GraphQL response in parsed JSON format.We suggest using the
createGraphiQLFetcher
utility from@graphiql/toolkit
to create these fetcher functions.createGraphiQLFetcher