graphql-tools-monorepo / wrap/src / FilterInputObjectFields
Class: FilterInputObjectFields<TContext>
wrap/src.FilterInputObjectFields
Type parameters
Name | Type |
---|---|
TContext | Record <string , any > |
Implements
Transform
<FilterInputObjectFieldsTransformationContext
,TContext
>
Table of contents
Constructors
Methods
Constructors
constructor
• new FilterInputObjectFields<TContext
>(filter
, inputObjectNodeTransformer?
): FilterInputObjectFields
<TContext
>
Type parameters
Name | Type |
---|---|
TContext | Record <string , any > |
Parameters
Name | Type |
---|---|
filter | InputFieldFilter |
inputObjectNodeTransformer? | InputObjectNodeTransformer |
Returns
FilterInputObjectFields
<TContext
>
Defined in
packages/wrap/src/transforms/FilterInputObjectFields.ts:14
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 | FilterInputObjectFieldsTransformationContext |
Returns
ExecutionRequest
<any
, any
, any
, Record
<string
, any
>, any
>
Implementation of
Transform.transformRequest
Defined in
packages/wrap/src/transforms/FilterInputObjectFields.ts:30
transformSchema
▸ transformSchema(originalWrappingSchema
, subschemaConfig
): GraphQLSchema
Parameters
Name | Type |
---|---|
originalWrappingSchema | GraphQLSchema |
subschemaConfig | SubschemaConfig <any , any , any , TContext > |
Returns
GraphQLSchema
Implementation of
Transform.transformSchema