TanStackT
TanStack14mo ago
1 reply
constitutional-coral

Global middleware for server functions

Is there a way to have a global/default middleware for server functions? As in you don't have to add it manually to each serverFn?

Basically I am looking to make server functions require authentication by default
Was this page helpful?