Docs
API
Classes
NamingConventionTransform

Class: NamingConventionTransform

transforms/naming-convention/src.NamingConventionTransform

Implements

Table of contents

Constructors

Methods

Constructors

constructor

new NamingConventionTransform(options)

Parameters

Methods

transformRequest

transformRequest(originalRequest, delegationContext, transformationContext): ExecutionRequest<Record<string, any>, any, any, Record<string, any>>

Parameters

NameType
originalRequestExecutionRequest<Record<string, any>, any, any, Record<string, any>>
delegationContextDelegationContext<Record<string, any>>
transformationContextRecord<string, any>

Returns

ExecutionRequest<Record<string, any>, any, any, Record<string, any>>

Implementation of

MeshTransform.transformRequest


transformResult

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

Parameters

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

Returns

ExecutionResult<Record<string, any>>

Implementation of

MeshTransform.transformResult


transformSchema

transformSchema(originalWrappingSchema, subschemaConfig, transformedSchema?): GraphQLSchema

Parameters

NameType
originalWrappingSchemaGraphQLSchema
subschemaConfigSubschemaConfig<any, any, any, Record<string, any>>
transformedSchema?GraphQLSchema

Returns

GraphQLSchema

Implementation of

MeshTransform.transformSchema