wrap_src.filterrootfields

Class: FilterRootFields#

wrap/src.FilterRootFields

Hierarchy#

  • FilterRootFields

Implements#

Table of contents#

Constructors#

Methods#

Constructors#

constructor#

+ new FilterRootFields(filter: RootFieldFilter): FilterRootFields

Parameters:#

NameType
filterRootFieldFilter

Returns: FilterRootFields

Defined in: packages/wrap/src/transforms/FilterRootFields.ts:10

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/FilterRootFields.ts:28