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
{{ message }}
This repository was archived by the owner on Sep 27, 2023. It is now read-only.
I'm really excited about what this package does, but middlwares/auth etc are something we don't have patterns for yet as it's very early.
What do you think of defining "middleware stacks" once and reusing them, something like "protectedProcedure" in tRPC.
Imagine zact taking in a list of functions to execute before the action as a stack, and the stack is reusable.
It'll just chain predefined function calls together to give you a typesafe middleware stacks