Core
Framework v2.x
2

set() #

Available since 2.8.0
Experimental: non-backward compatible changes or removal may occur in any future release.

Sets a configuration value.

This method can only be used before the application is started.

Copied to clipboard!
set(path: string, value: any): void

Argument Type Description
path
string
Path to the configuration key (lodash style)
value
any
Value for the configuration key

Usage #

Copied to clipboard!
app.config.set('limits.documentsWriteCount', 1000)