Skip to main content
Module

x/bq-oak-graphql/graphql-tools/utils/index.ts>modifyObjectFields

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

Parameters

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

Returns

[any, any]