Docs
API Reference
Classes
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?)

Type parameters

NameType
TContextRecord<string, any>

Parameters

NameType
inputFieldTransformerInputFieldTransformer
inputFieldNodeTransformer?InputFieldNodeTransformer
inputObjectNodeTransformer?InputObjectNodeTransformer

Defined in

packages/wrap/src/transforms/TransformInputObjectFields.ts:35 (opens in a new tab)

Methods

transformRequest

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

Parameters

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

Returns

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

Implementation of

Transform.transformRequest

Defined in

packages/wrap/src/transforms/TransformInputObjectFields.ts:80 (opens in a new tab)


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:56 (opens in a new tab)