transforms_filter_schema_src.default

Class: default#

transforms/filter-schema/src.default

Hierarchy#

  • default

Implements#

Table of contents#

Constructors#

Methods#

Constructors#

constructor#

+ new default(options: MeshTransformOptions<string[]\>): default

Parameters:#

NameType
optionsMeshTransformOptions<string[]\>

Returns: default

Defined in: packages/transforms/filter-schema/src/index.ts:11

Methods#

transformRequest#

transformRequest(originalRequest: Request, delegationContext: DelegationContext, transformationContext: Record<string, any\>): Request

Parameters:#

NameType
originalRequestRequest
delegationContextDelegationContext
transformationContextRecord<string, any\>

Returns: Request

Defined in: packages/transforms/filter-schema/src/index.ts:66


transformResult#

transformResult(originalResult: ExecutionResult<Record<string, any\>\>, delegationContext: DelegationContext, transformationContext: any): ExecutionResult<Record<string, any\>\>

Parameters:#

NameType
originalResultExecutionResult<Record<string, any\>\>
delegationContextDelegationContext
transformationContextany

Returns: ExecutionResult<Record<string, any\>\>

Defined in: packages/transforms/filter-schema/src/index.ts:74


transformSchema#

transformSchema(originalWrappingSchema: GraphQLSchema, subschemaConfig: SubschemaConfig<any, any, any\>, transformedSchema?: GraphQLSchema): GraphQLSchema

Parameters:#

NameType
originalWrappingSchemaGraphQLSchema
subschemaConfigSubschemaConfig<any, any, any\>
transformedSchema?GraphQLSchema

Returns: GraphQLSchema

Defined in: packages/transforms/filter-schema/src/index.ts:58