DocumentationAPI ReferenceInterfacesIDelegateToSchemaOptions

graphql-tools-monorepo / delegate/src / IDelegateToSchemaOptions

Interface: IDelegateToSchemaOptions<TContext, TArgs>

delegate/src.IDelegateToSchemaOptions

Type parameters

NameType
TContextRecord<string, any>
TArgsRecord<string, any>

Hierarchy

Table of contents

Properties

Properties

args

Optional args: TArgs

Defined in

packages/delegate/src/types.ts:72


context

Optional context: TContext

Defined in

packages/delegate/src/types.ts:75


fieldName

Optional fieldName: string

Defined in

packages/delegate/src/types.ts:69


fieldNodes

Optional fieldNodes: readonly FieldNode[]

Defined in

packages/delegate/src/types.ts:74


info

info: GraphQLResolveInfo

Defined in

packages/delegate/src/types.ts:76


onLocatedError

Optional onLocatedError: (originalError: GraphQLError) => GraphQLError

Type declaration

▸ (originalError): GraphQLError

Parameters
NameType
originalErrorGraphQLError
Returns

GraphQLError

Defined in

packages/delegate/src/types.ts:71


operation

Optional operation: OperationTypeNode

Defined in

packages/delegate/src/types.ts:68


operationName

Optional operationName: string

Defined in

packages/delegate/src/types.ts:67


returnType

Optional returnType: GraphQLOutputType

Defined in

packages/delegate/src/types.ts:70


rootValue

Optional rootValue: any

Defined in

packages/delegate/src/types.ts:77


schema

schema: GraphQLSchema | SubschemaConfig<any, any, any, TContext>

Defined in

packages/delegate/src/types.ts:66


selectionSet

Optional selectionSet: SelectionSetNode

Defined in

packages/delegate/src/types.ts:73


skipTypeMerging

Optional skipTypeMerging: boolean

Defined in

packages/delegate/src/types.ts:81


transformedSchema

Optional transformedSchema: GraphQLSchema

Defined in

packages/delegate/src/types.ts:79


transforms

Optional transforms: Transform<any, TContext>[]

Defined in

packages/delegate/src/types.ts:78


validateRequest

Optional validateRequest: boolean

Defined in

packages/delegate/src/types.ts:80