Integrating an `Effect.Effect` into a `Layer` can be a bit tricky since `Layer` is designed to wo...
Hey all,
I created a new service implementation that I want to provide to one of my Lives:
However,
My service looks like this:
I created a new service implementation that I want to provide to one of my Lives:
However,
Bookings.Live is of type Effect.Effect since it uses static Live = pipe(...) in the service itself, unlike the other Lives which use Layer.effect(...). How can I properly integrate this into ServerLive?My service looks like this:
