interface ConfigurableModuleBuilderOptions {
optionsInjectionToken?: string | symbol
moduleName?: string
alwaysTransient?: boolean
}
Properties
| Property |
Description |
optionsInjectionToken?: string | symbol
|
Specified what injection token should be used for the module options provider.
By default, an auto-generated UUID will be used.
|
moduleName?: string
|
By 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, if moduleName: "Cache" then auto-generated provider token will be "CACHE_MODULE_OPTIONS".
|
alwaysTransient?: boolean
|
Indicates 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.
|