Using Layer for Dependency Management and Testing
Is this pattern generally fine?
Like I have a default implementation for a service (but it cant be an
For the live usage I want all dependencies satisfied, but i still want to test the (general) implementation in tests with a memory test container...
Like I have a default implementation for a service (but it cant be an
Effect.Service so I get a Layer.Layer<ServiceImpl, never, R> (in this case RedisSyncEventManager)For the live usage I want all dependencies satisfied, but i still want to test the (general) implementation in tests with a memory test container...
