Creating a managed runtime for dependency injection in Effect can be achieved by setting up a cen...
im having trouble figuring out how to make a managed runtime with Effect.Service
if I setup my services so that I have something like
RepositoryName.Default or .Test
and
ServiceName.Default (with a dependncy on RepositoryName.Default) and .Test
I know that I can run the "program" like this
but how can I make a managed runtime for this so that everytime I need to run my service, I can DI the entire stack from one place?
if I setup my services so that I have something like
RepositoryName.Default or .Test
and
ServiceName.Default (with a dependncy on RepositoryName.Default) and .Test
I know that I can run the "program" like this
but how can I make a managed runtime for this so that everytime I need to run my service, I can DI the entire stack from one place?
