Class UnionsManager

Hierarchy

  • UnionsManager

Implements

Constructors

Properties

Methods

Constructors

Properties

_schemaManager: SchemaManager

Methods

  • Initializes union type resolvers.

    Since database queries may return different entity types for a union, the GraphQL server (and client as well) should have a way to know what exact type the entity is; this is what type resolver is for.

    Parameters

    • resolvers: IResolvers<any, any, Record<string, any>, any>

    Returns Promise<void>

Generated using TypeDoc