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

x/drash/src/services/graphql/deps.ts>GraphQL.GraphQLInterfaceTypeConfig

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

Type Parameters

TSource
TContext

Properties

name: string
optional
description: Maybe<string>
optional
interfaces: Thunk<Maybe<Array<GraphQLInterfaceType>>>
optional
resolveType: Maybe<GraphQLTypeResolver<TSource, TContext>>

Optionally provide a custom type resolver function. If one is not provided, the default implementation will call isTypeOf on each implementing Object type.

optional
extensions: Maybe<Readonly<GraphQLInterfaceTypeExtensions>>
optional
astNode: Maybe<InterfaceTypeDefinitionNode>
optional
extensionASTNodes: Maybe<ReadonlyArray<InterfaceTypeExtensionNode>>