Avoid leaking WorkflowEngine dependency when using a workflow in an effect
Hi, I have another question. I have defined a service to send emails:
Ad you can see the default implementation calls a workflow, making the signature of the Effect
Is it the way?
Ad you can see the default implementation calls a workflow, making the signature of the Effect
send require a WorkflowEngine because of SendEmail.execute. This leaks out the fact that I depend on the WorkflowEngine. Ideally, like other services dependencies I would like this dependency to be marked at the layer level. I could not find how to do that, except maybe doing something like:Is it the way?
