Is there correct way to create abstraction around createServerFn?
Hello, I'm trying to create abstraction on top of
With this code I'm getting:
Is there correct way to do this?
createServerFn to validate payload using zod. But I'm running into strange errors. Here is very simplified example:With this code I'm getting:
Is there correct way to do this?