github go-playground/validator v8.15
Release v8.15

latest releases: v10.22.1, v10.22.0, v10.21.0...
8 years ago

Additions

  • Add FieldNamespace and NameNamespace to FieldError. This allows for having the CustomName i.e. JSON namespace contained within the NameNamespace which would be very useful when using a more restful API approach.

Changes

  • optimized a few string comparisons.
  • FieldError not has a FieldNamespace and NameNamespace fields; NameNamespace is only set when FieldNameTag is set in the validator config.

Don't miss a new validator release

NewReleases is sending notifications on new releases.