Catch the highlights of GraphQLConf 2023! Click for recordings. Or check out our recap blog post.
Docs
API Reference
Classes
TransformInputObjectFields

graphql-tools-monorepo / wrap/src / TransformInputObjectFields

Class: TransformInputObjectFields<TContext>

wrap/src.TransformInputObjectFields

Type parameters

NameType
TContextRecord<string, any>

Implements

  • Transform<TransformInputObjectFieldsTransformationContext, TContext>

Table of contents

Constructors

Methods

Constructors

constructor

new TransformInputObjectFields<TContext>(inputFieldTransformer, inputFieldNodeTransformer?, inputObjectNodeTransformer?): TransformInputObjectFields<TContext>

Type parameters

NameType
TContextRecord<string, any>

Parameters

NameType
inputFieldTransformerInputFieldTransformer
inputFieldNodeTransformer?InputFieldNodeTransformer
inputObjectNodeTransformer?InputObjectNodeTransformer

Returns

TransformInputObjectFields<TContext>

Defined in

packages/wrap/src/transforms/TransformInputObjectFields.ts:42

Methods

transformRequest

transformRequest(originalRequest, delegationContext, _transformationContext): ExecutionRequest<any, any, any, Record<string, any>, any>

Parameters

NameType
originalRequestExecutionRequest<any, any, any, Record<string, any>, any>
delegationContextDelegationContext<TContext>
_transformationContextTransformInputObjectFieldsTransformationContext

Returns

ExecutionRequest<any, any, any, Record<string, any>, any>

Implementation of

Transform.transformRequest

Defined in

packages/wrap/src/transforms/TransformInputObjectFields.ts:91


transformSchema

transformSchema(originalWrappingSchema, _subschemaConfig): GraphQLSchema

Parameters

NameType
originalWrappingSchemaGraphQLSchema
_subschemaConfigSubschemaConfig<any, any, any, TContext>

Returns

GraphQLSchema

Implementation of

Transform.transformSchema

Defined in

packages/wrap/src/transforms/TransformInputObjectFields.ts:63