Path of controllers
Additional metadata except controllers
OptionalisTsNode: boolean
Select TypeScript source files explicitly; otherwise
compiled JavaScript is tried first, with a source fallback under ttsx.
Module instance
contracts/common.md#principled-implementation Controllers are loaded from the paths, given as a path, a list, or include and exclude lists, and then a class decorated with @Module and those controllers is returned, so Nest treats the result as an ordinary module.
contracts/common.md#clear-and-simple-design A short function whose discovery details live in load_controllers.
contracts/common.md#prohibited-implementation-shortcuts It calls Nest's public Module decorator with the metadata; nothing is patched.
Mount dynamic module.
Constructs a module instance with directory path of controller classes.
Every controller classes in the target directory would be dynamically mounted.