Function: getOperationOptions()

getOperationOptions<T>(resolveOrOptions): T extends "field" ? FieldOptions<any, any, any, any> : QueryMutationOptions<any, any, any>

Type Parameters

T extends FieldOrOperationType = OperationType

Parameters

resolveOrOptions: T extends "field" ? FieldOptions<any, any, any, any> | (parent) => any : QueryMutationOptions<any, any, any> | () => any

Returns

T extends "field" ? FieldOptions<any, any, any, any> : QueryMutationOptions<any, any, any>

Defined in

packages/core/src/utils/args.ts:10