Issue with Middleware Application in Effect Typescript Library
Followup-Question ig:
When I implement it like this:
Its working perfectly. However of course, this gets propagated through all routes in the API.
When I implement it like this:
It doesnt work at all.
In Theory I would provide the Middleware to only one of the Group Implementations (for example HttpAuthLive), and not all of them.
Also explaining, why its not working in the second case would be much appreciated. Do I mix up some concepts/types? through the beloved "effect magic" I don't get any errors.
When I implement it like this:
Its working perfectly. However of course, this gets propagated through all routes in the API.
When I implement it like this:
It doesnt work at all.
In Theory I would provide the Middleware to only one of the Group Implementations (for example HttpAuthLive), and not all of them.
Also explaining, why its not working in the second case would be much appreciated. Do I mix up some concepts/types? through the beloved "effect magic" I don't get any errors.
