On this page

removeObjectFields

The removeObjectFields function exported by @graphql-tools/utils.

removeObjectFields(schema, typeName, testFn): [GraphQLSchema, GraphQLFieldConfigMap<any, any>]

Defined in: packages/utils/src/fields.ts:51

Parameters

schema

GraphQLSchema

typeName

string

testFn

(fieldName, field) => boolean

Returns

[GraphQLSchema, GraphQLFieldConfigMap<any, any>]