Skip to main content

DirectiveResolverFn

talawa-apiDocs


talawa-api / types/generatedGraphQLTypes / DirectiveResolverFn

Type Alias: DirectiveResolverFn()<TResult, TParent, TContext, TArgs>

> DirectiveResolverFn<TResult, TParent, TContext, TArgs>: (next, parent, args, context, info?) => TResult | Promise<TResult>

Type Parameters

TResult = object

TParent = object

TContext = object

TArgs = object

Parameters

next: NextResolverFn<TResult>

parent: TParent

args: TArgs

context: TContext

info?: GraphQLResolveInfo

Returns

TResult | Promise<TResult>

Defined in

src/types/generatedGraphQLTypes.ts:3418