Class: FilterTypes<TContext>
wrap/src.FilterTypes
Type parameters
Name | Type |
---|---|
TContext | Record <string , any > |
Implements
Transform
<FilterTypesTransformationContext
,TContext
>
Table of contents
Constructors
Methods
Constructors
constructor
• new FilterTypes<TContext
>(filter
)
Type parameters
Name | Type |
---|---|
TContext | Record <string , any > |
Parameters
Name | Type |
---|---|
filter | (type : GraphQLNamedType ) => boolean |
Defined in
packages/wrap/src/transforms/FilterTypes.ts:12 (opens in a new tab)
Methods
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/FilterTypes.ts:16 (opens in a new tab)