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

Function: selectObjectFields()

selectObjectFields(schema, typeName, testFn): GraphQLFieldConfigMap<any, any>

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

Parameters

schema

GraphQLSchema

typeName

string

testFn

(fieldName, field) => boolean

Returns

GraphQLFieldConfigMap<any, any>