Docs
API Reference
Classes
FilterInputObjectFields

Class: FilterInputObjectFields<TContext>

wrap/src.FilterInputObjectFields

Type parameters

NameType
TContextRecord<string, any>

Implements

  • Transform<FilterInputObjectFieldsTransformationContext, TContext>

Table of contents

Constructors

Methods

Constructors

constructor

new FilterInputObjectFields<TContext>(filter, inputObjectNodeTransformer?)

Type parameters

NameType
TContextRecord<string, any>

Parameters

NameType
filterInputFieldFilter
inputObjectNodeTransformer?InputObjectNodeTransformer

Defined in

packages/wrap/src/transforms/FilterInputObjectFields.ts:18 (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>
transformationContextFilterInputObjectFieldsTransformationContext

Returns

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

Implementation of

Transform.transformRequest

Defined in

packages/wrap/src/transforms/FilterInputObjectFields.ts:34 (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/FilterInputObjectFields.ts:27 (opens in a new tab)