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

x/oak_graphql/graphql-tools/utils/fields.ts>modifyObjectFields

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

Parameters

schema: any
typeName: string
testFn: (fieldName: string, field: any) => boolean
newFields: any

Returns

[any, any]