Skip to Content
GraphQL Tools
DocumentationAPI@graphql-tools/utilssrcfunctionsremoveObjectFields

Function: removeObjectFields()

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>]