Docs
API Reference
Classes
FilterInterfaceFields

Class: FilterInterfaceFields<TContext>

wrap/src.FilterInterfaceFields

Type parameters

NameType
TContextRecord<string, any>

Implements

  • Transform<FilterInterfaceFieldsTransformationContext, TContext>

Table of contents

Constructors

Methods

Constructors

constructor

new FilterInterfaceFields<TContext>(filter)

Type parameters

NameType
TContextRecord<string, any>

Parameters

NameType
filterFieldFilter

Defined in

packages/wrap/src/transforms/FilterInterfaceFields.ts:16 (opens in a new tab)

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/FilterInterfaceFields.ts:23 (opens in a new tab)