Skip to content

Extracting T function type #1331

Closed Answered by amannn
ScreamZ asked this question in Q&A
Sep 9, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hey @ScreamZ!

It's really kind of you to offer a pull request, but as discussed in #1134, the snippet that's shown in the next-safe-action docs is unfortunately not what I'd recommend.

There's now a basic zod example in the docs. As for next-safe-action, I think trying out handleValidationErrorsShape could be something to look into (and if this works, maybe a PR to the next-safe-action docs could be helpful).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@amannn
Comment options

Answer selected by ScreamZ
@ScreamZ
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants