dynamic middleware #261
Closed
MrOxMasTer
started this conversation in
Ideas
Replies: 1 comment
-
next-safe-action is not tied to any library, and the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just as a suggestion (use them as decorators). You can probably implement such middleware yourself, but I think there will be such middleware useful in the library itself (if my implementation turns out not to be very good)
Example of middleware for authorization:
other file:
Beta Was this translation helpful? Give feedback.
All reactions