graphql-tools-monorepo / wrap/src / RenameObjectFieldArguments
Class: RenameObjectFieldArguments<TContext>
wrap/src.RenameObjectFieldArguments
Type parameters
Name | Type |
---|---|
TContext | Record <string , any > |
Implements
Transform
<RenameObjectFieldArgumentsTransformationContext
,TContext
>
Table of contents
Constructors
Methods
Constructors
constructor
• new RenameObjectFieldArguments<TContext
>(renamer
): RenameObjectFieldArguments
<TContext
>
Type parameters
Name | Type |
---|---|
TContext | Record <string , any > |
Parameters
Name | Type |
---|---|
renamer | RenamerFunction |
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
Name | Type |
---|---|
originalRequest | ExecutionRequest <any , any , any , Record <string , any >, any > |
delegationContext | DelegationContext <TContext > |
transformationContext | RenameObjectFieldArgumentsTransformationContext |
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
Name | Type |
---|---|
originalWrappingSchema | GraphQLSchema |
subschemaConfig | SubschemaConfig <any , any , any , TContext > |
Returns
GraphQLSchema
Implementation of
Transform.transformSchema
Defined in
packages/wrap/src/transforms/RenameObjectFieldArguments.ts:64