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
@deankarn This is an issue with validateMap in go-playground/validator, the errors generated (fieldError) there don't have ns or actualNs fields set as the rule map keys and hence the translation of these errors contains empty strings in place where key name should be there. Is this going to be fixed or is there some way to get around this and get a correct translation?
Package version eg. v9, v10:
v10
Issue, Question or Enhancement:
The validation errors look below with
validateMap
. Multiple values are missing within the error messageCode sample, to showcase or reproduce:
The text was updated successfully, but these errors were encountered: