Documentation
API Reference
Classes
FilterInterfaceFields

graphql-tools-monorepo / wrap/src / 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): FilterInterfaceFields<TContext>

Type parameters

NameType
TContextRecord<string, any>

Parameters

NameType
filterFieldFilter

Returns

FilterInterfaceFields<TContext>

Defined in

packages/wrap/src/transforms/FilterInterfaceFields.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/FilterInterfaceFields.ts:20