transforms_prefix_src.default
#
Class: defaulttransforms/prefix/src.default
#
Implements#
Table of contents#
Constructors#
Methods#
Constructors#
constructor+ new default(options
: MeshTransformOptions<PrefixTransformConfig\>): default
#
Parameters:Name | Type |
---|---|
options | MeshTransformOptions<PrefixTransformConfig\> |
Returns: default
Defined in: packages/transforms/prefix/src/index.ts:9
#
Methods#
transformRequestâ–¸ transformRequest(originalRequest
: Request, delegationContext
: DelegationContext, transformationContext
: Record<string, any\>): Request
#
Parameters:Name | Type |
---|---|
originalRequest | Request |
delegationContext | DelegationContext |
transformationContext | Record<string, any\> |
Returns: Request
Implementation of: MeshTransform.transformRequest
Defined in: packages/transforms/prefix/src/index.ts:49
#
transformResultâ–¸ transformResult(originalResult
: ExecutionResult<Record<string, any\>\>, delegationContext
: DelegationContext, transformationContext
: any): ExecutionResult<Record<string, any\>\>
#
Parameters:Name | Type |
---|---|
originalResult | ExecutionResult<Record<string, any\>\> |
delegationContext | DelegationContext |
transformationContext | any |
Returns: ExecutionResult<Record<string, any\>\>
Implementation of: MeshTransform.transformResult
Defined in: packages/transforms/prefix/src/index.ts:57
#
transformSchemaâ–¸ transformSchema(originalWrappingSchema
: GraphQLSchema, subschemaConfig
: SubschemaConfig<any, any, any, Record<string, any\>\>, transformedSchema?
: GraphQLSchema): GraphQLSchema
#
Parameters:Name | Type |
---|---|
originalWrappingSchema | GraphQLSchema |
subschemaConfig | SubschemaConfig<any, any, any, Record<string, any\>\> |
transformedSchema? | GraphQLSchema |
Returns: GraphQLSchema
Implementation of: MeshTransform.transformSchema
Defined in: packages/transforms/prefix/src/index.ts:41