wrap_src.filtertypes

Class: FilterTypes#

wrap/src.FilterTypes

Hierarchy#

  • FilterTypes

Implements#

Table of contents#

Constructors#

Methods#

Constructors#

constructor#

+ new FilterTypes(filter: (type: GraphQLNamedType) => boolean): FilterTypes

Parameters:#

NameType
filter(type: GraphQLNamedType) => boolean

Returns: FilterTypes

Defined in: packages/wrap/src/transforms/FilterTypes.ts:8

Methods#

transformSchema#

transformSchema(originalWrappingSchema: GraphQLSchema, _subschemaConfig: SubschemaConfig<any, any, any\>, _transformedSchema?: GraphQLSchema): GraphQLSchema

Parameters:#

NameType
originalWrappingSchemaGraphQLSchema
_subschemaConfigSubschemaConfig<any, any, any\>
_transformedSchema?GraphQLSchema

Returns: GraphQLSchema

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