wrap_src.removeobjectfielddirectives

Class: RemoveObjectFieldDirectives#

wrap/src.RemoveObjectFieldDirectives

Hierarchy#

  • RemoveObjectFieldDirectives

Implements#

Table of contents#

Constructors#

Methods#

Constructors#

constructor#

+ new RemoveObjectFieldDirectives(directiveName: string | RegExp, args?: Record<string, any\>): RemoveObjectFieldDirectives

Parameters:#

NameTypeDefault value
directiveNamestring | RegExp-
argsRecord<string, any\>...

Returns: RemoveObjectFieldDirectives

Defined in: packages/wrap/src/transforms/RemoveObjectFieldDirectives.ts:10

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/RemoveObjectFieldDirectives.ts:18