Understanding `Effect.updateService` and Layer Provisioning in Effect Typescript
Hi! I'm having some trouble understanding how
Basically In the following I would expect program to log "2" instead of "3", but
Effect.updateService works. I have a method where the requirements are provided by a layer, but in certain situatios I need to dynamically swap out a dependency.Basically In the following I would expect program to log "2" instead of "3", but
SomeServiceLevelDep never gets replaced it seems. Also I wonder why I have to provide SomeServiceLevelDep.Default to program in order to replace it, as it is already provided in SomeServive.