wrap_src.transforminputobjectfields

Class: TransformInputObjectFields#

wrap/src.TransformInputObjectFields

Hierarchy#

  • TransformInputObjectFields

Implements#

Table of contents#

Constructors#

Methods#

Constructors#

constructor#

+ new TransformInputObjectFields(inputFieldTransformer: InputFieldTransformer, inputFieldNodeTransformer?: InputFieldNodeTransformer, inputObjectNodeTransformer?: InputObjectNodeTransformer): TransformInputObjectFields

Parameters:#

NameType
inputFieldTransformerInputFieldTransformer
inputFieldNodeTransformer?InputFieldNodeTransformer
inputObjectNodeTransformer?InputObjectNodeTransformer

Returns: TransformInputObjectFields

Defined in: packages/wrap/src/transforms/TransformInputObjectFields.ts:30

Methods#

transformRequest#

transformRequest(originalRequest: Request, delegationContext: DelegationContext, _transformationContext: Record<string, any\>): Request

Parameters:#

NameType
originalRequestRequest
delegationContextDelegationContext
_transformationContextRecord<string, any\>

Returns: Request

Defined in: packages/wrap/src/transforms/TransformInputObjectFields.ts:68


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/TransformInputObjectFields.ts:43