graphql-tools-monorepo / wrap/src / TransformInputObjectFields
Class: TransformInputObjectFields<TContext>
wrap/src.TransformInputObjectFields
Type parameters
Name | Type |
---|---|
TContext | Record <string , any > |
Implements
Transform
<TransformInputObjectFieldsTransformationContext
,TContext
>
Table of contents
Constructors
Methods
Constructors
constructor
• new TransformInputObjectFields<TContext
>(inputFieldTransformer
, inputFieldNodeTransformer?
, inputObjectNodeTransformer?
): TransformInputObjectFields
<TContext
>
Type parameters
Name | Type |
---|---|
TContext | Record <string , any > |
Parameters
Name | Type |
---|---|
inputFieldTransformer | InputFieldTransformer |
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
Name | Type |
---|---|
originalRequest | ExecutionRequest <any , any , any , Record <string , any >, any > |
delegationContext | DelegationContext <TContext > |
_transformationContext | TransformInputObjectFieldsTransformationContext |
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
Name | Type |
---|---|
originalWrappingSchema | GraphQLSchema |
_subschemaConfig | SubschemaConfig <any , any , any , TContext > |
Returns
GraphQLSchema
Implementation of
Transform.transformSchema
Defined in
packages/wrap/src/transforms/TransformInputObjectFields.ts:63