Docs
API Reference
Classes
RemoveObjectFieldsWithDeprecation

Class: RemoveObjectFieldsWithDeprecation<TContext>

wrap/src.RemoveObjectFieldsWithDeprecation

Type parameters

NameType
TContextRecord<string, any>

Implements

  • Transform<RemoveObjectFieldsWithDeprecationTransformationContext, TContext>

Table of contents

Constructors

Methods

Constructors

constructor

new RemoveObjectFieldsWithDeprecation<TContext>(reason)

Type parameters

NameType
TContextRecord<string, any>

Parameters

NameType
reasonstring | RegExp

Defined in

packages/wrap/src/transforms/RemoveObjectFieldsWithDeprecation.ts:16 (opens in a new tab)

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/RemoveObjectFieldsWithDeprecation.ts:25 (opens in a new tab)