Custom rule function FieldLevel.FieldName()
return empty string on Validate.ValidateMap()
#805
Open
2 tasks done
Package version eg. v9, v10:
v10
Issue, Question or Enhancement:
Custom rule
FieldLevel.FieldName()
return empty string onValidate.ValidateMap()
Code sample, to showcase or reproduce:
main.go
output:
Expected
FieldLevel.FieldName()
will return string"field"
instead of empty string""
.The text was updated successfully, but these errors were encountered: