You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have several functions which consumes own configuration + logger configuration, so I'd like to reference logger configuration from another configuration (Such behavior exists in Ruby on Rails Yaml parser, more info)
This is a bit inconvenient in case if you want all your functions to have standardized API (e.g., single argument with options object) and configure each function independently. So, this can be called kind of "Config injection" feature :)
The text was updated successfully, but these errors were encountered:
Expected Behavior:
I have several functions which consumes own configuration + logger configuration, so I'd like to reference logger configuration from another configuration (Such behavior exists in Ruby on Rails Yaml parser, more info)
afterwards when I do
config.get('domainTracker')
I expect logger configuration to be included as part ofdomainTracker
configuration:Actual Behavior:
I need manually pass different configurations into my functions:
This is a bit inconvenient in case if you want all your functions to have standardized API (e.g., single argument with
options
object) and configure each function independently. So, this can be called kind of "Config injection" feature :)The text was updated successfully, but these errors were encountered: