Class: RemoveObjectFieldsWithDeprecation<TContext>
wrap/src.RemoveObjectFieldsWithDeprecation
Type parameters
| Name | Type |
|---|---|
TContext | Record<string, any> |
Implements
Transform<RemoveObjectFieldsWithDeprecationTransformationContext,TContext>
Table of contents
Constructors
Methods
Constructors
constructor
• new RemoveObjectFieldsWithDeprecation<TContext>(reason)
Type parameters
| Name | Type |
|---|---|
TContext | Record<string, any> |
Parameters
| Name | Type |
|---|---|
reason | string | RegExp |
Defined in
packages/wrap/src/transforms/RemoveObjectFieldsWithDeprecation.ts:16
Methods
transformSchema
▸ transformSchema(originalWrappingSchema, subschemaConfig): GraphQLSchema
Parameters
| Name | Type |
|---|---|
originalWrappingSchema | GraphQLSchema |
subschemaConfig | SubschemaConfig<any, any, any, TContext> |
Returns
GraphQLSchema
Implementation of
Transform.transformSchema
Defined in
packages/wrap/src/transforms/RemoveObjectFieldsWithDeprecation.ts:25