Skip to main content
interface GQLOptions
implements Omit<GraphQLArgs, "source">
import { type GQLOptions } from "https://deno.land/x/kilatgraphql@16.6.0/types.ts";

gql options

Type Parameters

optional
Context = any
optional
Req extends GQLRequest = GQLRequest

Properties

optional
context: (val: Req) => Context | Promise<Context>
optional
graphiql: boolean

GraphQL playground

optional
headers: HeadersInit

Custom headers for responses

optional
playgroundOptions: Omit<RenderPageOptions, "endpoint">

Custom options for GraphQL Playground