Skip to content

Interface: ConfigurableModuleBuilderOptions

Defined in: packages/core/src/module-utils/configurable-module.builder.ts:22

Properties

PropertyTypeDescriptionDefined in
alwaysTransient?booleanIndicates whether module should always be "transient" - meaning, every time you call the static method to construct a dynamic module, regardless of what arguments you pass in, a new "unique" module will be created. Default falsepackages/core/src/module-utils/configurable-module.builder.ts:43
moduleName?stringBy default, an UUID will be used as a module options provider token. Explicitly specifying the "moduleName" will instruct the "ConfigurableModuleBuilder" to use a more descriptive provider token. For example, moduleName: "Cache" will auto-generate the provider token: "CACHE_MODULE_OPTIONS".packages/core/src/module-utils/configurable-module.builder.ts:35
optionsInjectionToken?string | symbolSpecifies what injection token should be used for the module options provider. By default, an auto-generated UUID will be used.packages/core/src/module-utils/configurable-module.builder.ts:27

Released under the MIT License.