graphql-tools-monorepo / wrap/src / FilterObjectFields
Class: FilterObjectFields<TContext>
wrap/src.FilterObjectFields
Type parameters
Name | Type |
---|---|
TContext | Record <string , any > |
Implements
Transform
<FilterObjectFieldsTransformationContext
,TContext
>
Table of contents
Constructors
Methods
Constructors
constructor
• new FilterObjectFields<TContext
>(filter
): FilterObjectFields
<TContext
>
Type parameters
Name | Type |
---|---|
TContext | Record <string , any > |
Parameters
Name | Type |
---|---|
filter | ObjectFieldFilter |
Returns
FilterObjectFields
<TContext
>
Defined in
packages/wrap/src/transforms/FilterObjectFields.ts:13
Methods
transformSchema
▸ transformSchema(originalWrappingSchema
, subschemaConfig
): GraphQLSchema
Parameters
Name | Type |
---|---|
originalWrappingSchema | GraphQLSchema |
subschemaConfig | SubschemaConfig <any , any , any , TContext > |
Returns
GraphQLSchema
Implementation of
Transform.transformSchema