Helpers of EncryptedModule, namely dynamic, which builds an
encrypted module from controller paths.
Evidence
contracts/common.md#principled-implementation dynamic loads the controllers with the shared loader, wraps an object password into a closure, and returns a class decorated by EncryptedModule.
Evidence
contracts/common.md#clear-and-simple-design One function that reuses the loader and the decorator.
Evidence
contracts/common.md#prohibited-implementation-shortcuts Paths and password are caller input.
Evidence
contracts/common.md#meaningful-documentation The comment documents the path forms and the password argument.
Evidence
contracts/portability.md#os-neutral-implementation The decorator traverses Nest module metadata in memory; its dynamic helper delegates native paths and file-URL imports to load_controllers instead of composing platform-specific import strings.
Helpers of EncryptedModule, namely
dynamic, which builds an encrypted module from controller paths.Evidence
contracts/common.md#principled-implementation
dynamicloads the controllers with the shared loader, wraps an object password into a closure, and returns a class decorated byEncryptedModule.Evidence
contracts/common.md#clear-and-simple-design One function that reuses the loader and the decorator.
Evidence
contracts/common.md#prohibited-implementation-shortcuts Paths and password are caller input.
Evidence
contracts/common.md#meaningful-documentation The comment documents the path forms and the password argument.
Evidence
contracts/portability.md#os-neutral-implementation The decorator traverses Nest module metadata in memory; its dynamic helper delegates native paths and file-URL imports to load_controllers instead of composing platform-specific import strings.