Refactored #1122 to support or's in tags + updated to required behaving the same as before v10.50.0 to support the community as there was a lot of code relying on the before behaviour, correct or not.
Added a way to opt-in to the new functionality, which is recommended, using WithRequiredStructEnabled
Release 10.15.1
What was fixed?
Corrected a few validations including gt, lt, ... when using floating point values, specifically float32, in this PR
Release 10.15.0
What's new?
Applying tag validations on structs is now a reality thank to @MysteriousPotato in this PR
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/go-playground/validator/v10 from 10.14.1 to 10.15.2.
Release notes
Sourced from github.com/go-playground/validator/v10's releases.
Commits
1b40ba0
Update README.md9b7c4de
Struct experiment (#1150)3094d59
fix float cast precicion in a few validations (#1146)5bf55dc
Update README.md4b53ea8
Feat: add SpiceDB validations (#1125)0f6b874
Remove extra URL string header (#1121)842a796
Fix filepath validator panic if the value is an existing dir (#1133)63657cf
fix README logo link (#1134)549397d
added one of as example (#1135)b293a5c
Feature: nested struct validation (#1122)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show