wrap_src.pruneschema

Class: PruneSchema#

wrap/src.PruneSchema

Hierarchy#

  • PruneSchema

Implements#

Table of contents#

Constructors#

Methods#

Constructors#

constructor#

+ new PruneSchema(options?: PruneSchemaOptions): PruneSchema

Parameters:#

NameTypeDefault value
optionsPruneSchemaOptions...

Returns: PruneSchema

Defined in: packages/wrap/src/transforms/PruneSchema.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/PruneSchema.ts:14