Options
All
  • Public
  • Public/Protected
  • All
Menu

Module apollo\server\types

Index

Type aliases

ResolverFn

ResolverFn<Args, Result>: (parent: ResolverParent, args: Args, context: ResolverContext) => Result | Promise<Result>

The type of a resolver

Type parameters

  • Args

    The type of the arguments for the resolver

  • Result

    The return type of the resolver

Type declaration

ResolverParent

ResolverParent: PersonModelAttributes | Major | null

The parent nodes of a resolver

Resolvers

Resolvers: IResolvers<ResolverParent, ResolverContext>

The type of a collection of resolvers

Generated using TypeDoc