graphql-tools-monorepo / wrap/src / RemoveObjectFieldDeprecations
Class: RemoveObjectFieldDeprecations<TContext>
wrap/src.RemoveObjectFieldDeprecations
Type parameters
Name | Type |
---|---|
TContext | Record <string , any > |
Implements
Transform
<RemoveObjectFieldDeprecationsTransformationContext
,TContext
>
Table of contents
Constructors
Methods
Constructors
constructor
• new RemoveObjectFieldDeprecations<TContext
>(reason
): RemoveObjectFieldDeprecations
<TContext
>
Type parameters
Name | Type |
---|---|
TContext | Record <string , any > |
Parameters
Name | Type |
---|---|
reason | string | RegExp |
Returns
RemoveObjectFieldDeprecations
<TContext
>
Defined in
packages/wrap/src/transforms/RemoveObjectFieldDeprecations.ts:15
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/RemoveObjectFieldDeprecations.ts:34