Skip to content

How to easily work with form validation errors? #460

Answered by unnoq
ludwigbacklund asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately, oRPC doesn't currently provide a built-in way to handle this. You'll need to manually parse validation errors from errors: https://orpc.unnoq.com/docs/advanced/validation-errors

That said, I do have a solution for this at the moment and plan to release it in an upcoming version (1.2 or 1.3).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by ludwigbacklund
Comment options

You must be logged in to vote
1 reply
@ludwigbacklund
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