Skip to main content
Version: v8.0.0

GraphqlRequestOptionsType


Import
import { GraphqlRequestOptionsType } from "@hyper-fetch/graphql"

Preview​

type GraphqlRequestOptionsType = {
document?: GraphQlEndpointType;
}

Structure​

GraphqlRequestOptionsType
NameTypeDescription
document
GraphQlEndpointType

GraphQL document sent as query . When it is set, endpoint becomes a URL path appended to client.url , the same way as in the HttpAdapter. When it is omitted, endpoint holds the document and the URL is client.url .