• Docs
  • API Reference
  • Classes
  • FilterTypes

Class: FilterTypes<TContext>

wrap/src.FilterTypes

Type parameters

NameType
TContextRecord<string, any>

Implements

  • Transform<FilterTypesTransformationContext, TContext>

Table of contents

Constructors

Methods

Constructors

constructor

new FilterTypes<TContext>(filter)

Type parameters

NameType
TContextRecord<string, any>

Parameters

NameType
filter(type: GraphQLNamedType) => boolean

Defined in

packages/wrap/src/transforms/FilterTypes.ts:14

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/FilterTypes.ts:18