Merging Layers Example

Hi. I have a question about the Merging Layers example from the docs: https://effect.website/docs/guides/context-management/layers#logger

AppConfigLive still requires Config, so any Config provided later will override the merged ConfigLive.

When would it be a good idea to do it this way? Or is this example simply being used to illustrate how merging works?
Learn how to use Layers to control the construction of service dependencies and manage the "dependency graph" of your program more effectively.
Managing Layers – Effect Docs
Was this page helpful?