You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ x] I have looked at the documentation here first?
[ x] I have looked at the examples provided that may showcase my question here?
Package version eg. v9, v10:
v10
Issue, Question or Enhancement:
Issue: The FieldError.Field() is empty and not populating the ValidationErrors key for Error(). Consistent ValidationError messages and translation are important and should be a priority to implement. Allowing a field name/key to be passed as a argument to Var() and ValidateMap() would be great. It would also eliminate a lot of unnecessary structs added to code just for producing proper error messages.
There several Issues reported already #425#805#894#1284 and at least one PR #962 to fix.
Package version eg. v9, v10:
v10
Issue, Question or Enhancement:
Issue: The FieldError.Field() is empty and not populating the ValidationErrors key for Error(). Consistent ValidationError messages and translation are important and should be a priority to implement. Allowing a field name/key to be passed as a argument to Var() and ValidateMap() would be great. It would also eliminate a lot of unnecessary structs added to code just for producing proper error messages.
There several Issues reported already #425 #805 #894 #1284 and at least one PR #962 to fix.
Code sample, to showcase or reproduce:
The text was updated successfully, but these errors were encountered: