Documentation
API Reference
Classes
RemoveObjectFieldDeprecations

graphql-tools-monorepo / wrap/src / RemoveObjectFieldDeprecations

Class: RemoveObjectFieldDeprecations<TContext>

wrap/src.RemoveObjectFieldDeprecations

Type parameters

NameType
TContextRecord<string, any>

Implements

  • Transform<RemoveObjectFieldDeprecationsTransformationContext, TContext>

Table of contents

Constructors

Methods

Constructors

constructor

new RemoveObjectFieldDeprecations<TContext>(reason): RemoveObjectFieldDeprecations<TContext>

Type parameters

NameType
TContextRecord<string, any>

Parameters

NameType
reasonstring | RegExp

Returns

RemoveObjectFieldDeprecations<TContext>

Defined in

packages/wrap/src/transforms/RemoveObjectFieldDeprecations.ts:15

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/RemoveObjectFieldDeprecations.ts:34