Documentation
API Reference
Classes
RenameObjectFieldArguments

graphql-tools-monorepo / wrap/src / RenameObjectFieldArguments

Class: RenameObjectFieldArguments<TContext>

wrap/src.RenameObjectFieldArguments

Type parameters

NameType
TContextRecord<string, any>

Implements

  • Transform<RenameObjectFieldArgumentsTransformationContext, TContext>

Table of contents

Constructors

Methods

Constructors

constructor

new RenameObjectFieldArguments<TContext>(renamer): RenameObjectFieldArguments<TContext>

Type parameters

NameType
TContextRecord<string, any>

Parameters

NameType
renamerRenamerFunction

Returns

RenameObjectFieldArguments<TContext>

Defined in

packages/wrap/src/transforms/RenameObjectFieldArguments.ts:17

Methods

transformRequest

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

Parameters

NameType
originalRequestExecutionRequest<any, any, any, Record<string, any>, any>
delegationContextDelegationContext<TContext>
transformationContextRenameObjectFieldArgumentsTransformationContext

Returns

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

Implementation of

Transform.transformRequest

Defined in

packages/wrap/src/transforms/RenameObjectFieldArguments.ts:97


transformSchema

transformSchema(originalWrappingSchema, subschemaConfig): GraphQLSchema

Parameters

NameType
originalWrappingSchemaGraphQLSchema
subschemaConfigSubschemaConfig<any, any, any, TContext>

Returns

GraphQLSchema

Implementation of

Transform.transformSchema

Defined in

packages/wrap/src/transforms/RenameObjectFieldArguments.ts:64