Skip to content

Commit

Permalink
📖 docs: v1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
maktoobgar committed Aug 21, 2023
1 parent da9305f commit a9ef490
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ CHANGELOG
UNRELEASED
----------


1.4.2 (2023-08-21)
------------------

* 🐛 fix: unexported fields will get ignored to prevent unwanted behavior

1.4.1 (2023-08-20)
Expand Down
1 change: 1 addition & 0 deletions validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ func (o *validatorS) Validate(input interface{}, translator ...Translator) inter
panic(fmt.Sprintf("value on %s is not valid", fieldName))
}

// If not exported
if !found || typeOnKeyInput.PkgPath != "" {
break
}
Expand Down

0 comments on commit a9ef490

Please sign in to comment.