contracts/common.md#principled-implementation The namespace builds a Nest module whose controllers are found on disk at startup instead of listed in code, using the shared loader.
Evidence
contracts/common.md#clear-and-simple-design One function that delegates discovery to load_controllers and decorates a class with the result.
Evidence
contracts/common.md#prohibited-implementation-shortcuts Paths are caller input, and no controller name is assumed.
Evidence
contracts/common.md#meaningful-documentation The comment describes the purpose and the path forms.
Evidence
contracts/portability.md#os-neutral-implementation Controller discovery delegates native path handling to SourceFinder and conversion of import paths to file URLs to load_controllers; module metadata contains controller constructors rather than filesystem identities.
Dynamic module.
DynamicModuleis a namespace wrapping a convenient function, which can load controller classes dynamically just by specifying their directory path.Author
Jeongho Nam - https://github.com/samchon
Evidence
contracts/common.md#principled-implementation The namespace builds a Nest module whose controllers are found on disk at startup instead of listed in code, using the shared loader.
Evidence
contracts/common.md#clear-and-simple-design One function that delegates discovery to
load_controllersand decorates a class with the result.Evidence
contracts/common.md#prohibited-implementation-shortcuts Paths are caller input, and no controller name is assumed.
Evidence
contracts/common.md#meaningful-documentation The comment describes the purpose and the path forms.
Evidence
contracts/portability.md#os-neutral-implementation Controller discovery delegates native path handling to SourceFinder and conversion of import paths to file URLs to load_controllers; module metadata contains controller constructors rather than filesystem identities.