3 ms·
Why does something 5 layers down need all the config values?
by p1necone 6y ago
Why does something 5 layers down need all the config values?
- starik36 6y agoNot necessarily all options, but just maybe settings for connection to some 3rd party server. You will need the configs.
- FroshKiller 6y agoWhy wouldn't you implement a service for the 3rd party that itself requires the config, then? If a caller of the service needs to know how it's configured for some reason, you should probably be exposing it as a property of the service, not sharing the config directly.