You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current situation if we use sequence helper function for hooks. We need to check the route in the beginning of every hook if we want them to apply only for specific routes.
Describe the proposed solution
Like all the parts of the framework that are filesystem-based for the route, maybe we can apply this to hooks too.
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response
The text was updated successfully, but these errors were encountered:
My current idea is to implement a solution that uses hooks.server to call all +server.ts files along the path and execute the exported middleware methods with the Request object as parameter.
Describe the problem
In the current situation if we use sequence helper function for hooks. We need to check the route in the beginning of every hook if we want them to apply only for specific routes.
Describe the proposed solution
Like all the parts of the framework that are filesystem-based for the route, maybe we can apply this to hooks too.
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response
The text was updated successfully, but these errors were encountered: