wrap_src.filterrootfields
#
Class: FilterRootFieldswrap/src.FilterRootFields
#
Hierarchy- FilterRootFields
#
Implements#
Table of contents#
Constructors#
Methods#
Constructors#
constructor+ new FilterRootFields(filter
: RootFieldFilter): FilterRootFields
#
Parameters:Name | Type |
---|---|
filter | RootFieldFilter |
Returns: FilterRootFields
Defined in: packages/wrap/src/transforms/FilterRootFields.ts:10
#
Methods#
transformSchemaâ–¸ transformSchema(originalWrappingSchema
: GraphQLSchema, subschemaConfig
: SubschemaConfig<any, any, any\>, transformedSchema?
: GraphQLSchema): GraphQLSchema
#
Parameters:Name | Type |
---|---|
originalWrappingSchema | GraphQLSchema |
subschemaConfig | SubschemaConfig<any, any, any\> |
transformedSchema? | GraphQLSchema |
Returns: GraphQLSchema
Defined in: packages/wrap/src/transforms/FilterRootFields.ts:28