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

x/oak_graphql/graphql-tools/utils/index.ts>createSchemaDefinition

A simple graphql middleware for oak deno framework.
Latest
function createSchemaDefinition
Re-export
import { createSchemaDefinition } from "https://deno.land/x/oak_graphql@0.6.4/graphql-tools/utils/index.ts";

Parameters

def: { query:
| string
| any
| null
| undefined
; mutation:
| string
| any
| null
| undefined
; subscription:
| string
| any
| null
| undefined
; }
optional
config: { force?: boolean; }

Returns

string | undefined