Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/drash/src/services/graphql/graphql.ts>GraphQL.BuildSchemaOptions

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
interface GraphQL.BuildSchemaOptions
implements GraphQLSchemaValidationOptions
import { type GraphQL } from "https://deno.land/x/drash@v2.8.1/src/services/graphql/graphql.ts";
const { BuildSchemaOptions } = GraphQL;

Properties

optional
commentDescriptions: boolean

Descriptions are defined as preceding string literals, however an older experimental version of the SDL supported preceding comments as descriptions. Set to true to enable this deprecated behavior. This option is provided to ease adoption and will be removed in v16.

Default: false

optional
assumeValidSDL: boolean

Set to true to assume the SDL is valid.

Default: false