add callback support for defaultValidationErrorsShape
#302
mammadataei
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Yes, I agree, it would be great! But unfortunately it's impossible to infer the validation errors structure types from a client-level function. That's why you can only set "formatted" or "flattened" at the instance level. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to change the validation errors shape globally, but
defaultValidationErrorsShape
is not dynamic. A transformed callback likehandleValidationErrorsShape
but in createSafeActionClient would be a great option.Beta Was this translation helpful? Give feedback.
All reactions