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

x/oak_graphql/graphql-tools/utils/filterSchema.ts>filterSchema

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

Parameters

unnamed 0: { schema: any; rootFieldFilter?: RootFieldFilter; typeFilter?: (typeName: string, type: any) => boolean; fieldFilter?: (typeName: string, fieldName: string) => boolean; }