graphql-tools-monorepo / wrap/src / RemoveObjectFieldsWithDeprecation
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
): RemoveObjectFieldsWithDeprecation
<TContext
>
Type parameters
Name | Type |
---|---|
TContext | Record <string , any > |
Parameters
Name | Type |
---|---|
reason | string | RegExp |
Returns
RemoveObjectFieldsWithDeprecation
<TContext
>
Defined in
packages/wrap/src/transforms/RemoveObjectFieldsWithDeprecation.ts:13
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:22