wrap_src.removeobjectfielddeprecations

Class: RemoveObjectFieldDeprecations#

wrap/src.RemoveObjectFieldDeprecations

Hierarchy#

  • RemoveObjectFieldDeprecations

Implements#

Table of contents#

Constructors#

Methods#

Constructors#

constructor#

+ new RemoveObjectFieldDeprecations(reason: string | RegExp): RemoveObjectFieldDeprecations

Parameters:#

NameType
reasonstring | RegExp

Returns: RemoveObjectFieldDeprecations

Defined in: packages/wrap/src/transforms/RemoveObjectFieldDeprecations.ts:12

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