graphql-tools-monorepo / wrap/src / FilterInterfaceFields
Class: FilterInterfaceFields<TContext>
wrap/src.FilterInterfaceFields
Type parameters
Name | Type |
---|---|
TContext | Record <string , any > |
Implements
Transform
<FilterInterfaceFieldsTransformationContext
,TContext
>
Table of contents
Constructors
Methods
Constructors
constructor
• new FilterInterfaceFields<TContext
>(filter
): FilterInterfaceFields
<TContext
>
Type parameters
Name | Type |
---|---|
TContext | Record <string , any > |
Parameters
Name | Type |
---|---|
filter | FieldFilter |
Returns
FilterInterfaceFields
<TContext
>
Defined in
packages/wrap/src/transforms/FilterInterfaceFields.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