Skip to main content
Version: 5.9

CreateRequestContext

Callable

  • CreateRequestContext<T>(getContext?: MikroORM<IDatabaseDriver<Connection>> | Promise<MikroORM<IDatabaseDriver<Connection>>> | (type?: T) => MikroORM<IDatabaseDriver<Connection>> | Promise<MikroORM<IDatabaseDriver<Connection>>>): MethodDecorator

  • Type parameters

    • T

    Parameters

    • optionalgetContext: MikroORM<IDatabaseDriver<Connection>> | Promise<MikroORM<IDatabaseDriver<Connection>>> | (type?: T) => MikroORM<IDatabaseDriver<Connection>> | Promise<MikroORM<IDatabaseDriver<Connection>>>

      Returns MethodDecorator