• Mount dynamic module.

    Constructs a module instance with directory path of controller classes.

    Every controller classes in the target directory would be dynamically mounted.

    Parameters

    • path: string | string[] | { exclude?: string[]; include: string[] }

      Path of controllers

    • metadata: Omit<ModuleMetadata, "controllers"> = {}

      Addtional metadata except controllers

    • OptionalisTsNode: boolean

    Returns Promise<object>

    module instance