Effect CommunityEC
Effect Community8mo ago
1 reply
phibr0

Creating Dependent Middlewares in Effect Typescript

Is it possible to create middlewares that are dependent on another middleware? I currently have a Authorization Middleware that verifies a session and now I want to create a "AdminOnly" middleware that checks the user role by using the validated session provided by the Auth middleware
Was this page helpful?