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