Skip to main content

transforms_naming_convention_src.default

Class: default#

transforms/naming-convention/src.default

Implements#

Table of contents#

Constructors#

Methods#

Constructors#

constructor#

+ new default(options: MeshTransformOptions<NamingConventionTransformConfig\>): default

Parameters:#

NameType
optionsMeshTransformOptions<NamingConventionTransformConfig\>

Returns: default

Defined in: packages/transforms/naming-convention/src/index.ts:53

Methods#

transformRequest#

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

Parameters:#

NameType
originalRequestRequest
delegationContextDelegationContext
transformationContextRecord<string, any\>

Returns: Request

Implementation of: MeshTransform.transformRequest

Defined in: packages/transforms/naming-convention/src/index.ts:92


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\>\>

Implementation of: MeshTransform.transformResult

Defined in: packages/transforms/naming-convention/src/index.ts:100


transformSchema#

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

Parameters:#

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

Returns: GraphQLSchema

Implementation of: MeshTransform.transformSchema

Defined in: packages/transforms/naming-convention/src/index.ts:84