Documentation
API Reference
Classes
FilterObjectFields

graphql-tools-monorepo / wrap/src / FilterObjectFields

Class: FilterObjectFields<TContext>

wrap/src.FilterObjectFields

Type parameters

NameType
TContextRecord<string, any>

Implements

  • Transform<FilterObjectFieldsTransformationContext, TContext>

Table of contents

Constructors

Methods

Constructors

constructor

new FilterObjectFields<TContext>(filter): FilterObjectFields<TContext>

Type parameters

NameType
TContextRecord<string, any>

Parameters

NameType
filterObjectFieldFilter

Returns

FilterObjectFields<TContext>

Defined in

packages/wrap/src/transforms/FilterObjectFields.ts:13

Methods

transformSchema

transformSchema(originalWrappingSchema, subschemaConfig): GraphQLSchema

Parameters

NameType
originalWrappingSchemaGraphQLSchema
subschemaConfigSubschemaConfig<any, any, any, TContext>

Returns

GraphQLSchema

Implementation of

Transform.transformSchema

Defined in

packages/wrap/src/transforms/FilterObjectFields.ts:20