-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MongoDB validator improved #1196
Conversation
I'm not sure it would be best to have one validation do two different things, otherwise you wouldn't be able to differentiate for error messages and alike what exactly failed. |
I agree with this remark. Added a separate tag. |
@deankarn Hi, how about this pull request? |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) | `v10.20.0` -> `v10.21.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-playground%2fvalidator%2fv10/v10.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgo-playground%2fvalidator%2fv10/v10.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgo-playground%2fvalidator%2fv10/v10.20.0/v10.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-playground%2fvalidator%2fv10/v10.20.0/v10.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>go-playground/validator (github.com/go-playground/validator/v10)</summary> ### [`v10.21.0`](https://github.com/go-playground/validator/releases/tag/v10.21.0): Release 10.21.0 [Compare Source](https://github.com/go-playground/validator/compare/v10.20.0...v10.21.0) #### What's Changed - MongoDB validator improved by [@​pixel365](https://github.com/pixel365) in [https://github.com/go-playground/validator/pull/1196](https://github.com/go-playground/validator/pull/1196) - change codes bool value to struct{} by [@​nar10z](https://github.com/nar10z) in [https://github.com/go-playground/validator/pull/1270](https://github.com/go-playground/validator/pull/1270) - Fix grammar issues in comments, tests, field names by [@​alexandear](https://github.com/alexandear) in [https://github.com/go-playground/validator/pull/1262](https://github.com/go-playground/validator/pull/1262) - Make docs for required more explicit regarding boolean values by [@​alexongh](https://github.com/alexongh) in [https://github.com/go-playground/validator/pull/1261](https://github.com/go-playground/validator/pull/1261) - Fix Japanese translation of max-items, lt-items and lte-items error by [@​Tomoki108](https://github.com/Tomoki108) in [https://github.com/go-playground/validator/pull/1250](https://github.com/go-playground/validator/pull/1250) - chore: fix some comments by [@​pavedroad](https://github.com/pavedroad) in [https://github.com/go-playground/validator/pull/1242](https://github.com/go-playground/validator/pull/1242) - Polish language support by [@​thinkofher](https://github.com/thinkofher) in [https://github.com/go-playground/validator/pull/1217](https://github.com/go-playground/validator/pull/1217) #### New Contributors - [@​pixel365](https://github.com/pixel365) made their first contribution in [https://github.com/go-playground/validator/pull/1196](https://github.com/go-playground/validator/pull/1196) - [@​nar10z](https://github.com/nar10z) made their first contribution in [https://github.com/go-playground/validator/pull/1270](https://github.com/go-playground/validator/pull/1270) - [@​alexongh](https://github.com/alexongh) made their first contribution in [https://github.com/go-playground/validator/pull/1261](https://github.com/go-playground/validator/pull/1261) - [@​Tomoki108](https://github.com/Tomoki108) made their first contribution in [https://github.com/go-playground/validator/pull/1250](https://github.com/go-playground/validator/pull/1250) - [@​pavedroad](https://github.com/pavedroad) made their first contribution in [https://github.com/go-playground/validator/pull/1242](https://github.com/go-playground/validator/pull/1242) - [@​thinkofher](https://github.com/thinkofher) made their first contribution in [https://github.com/go-playground/validator/pull/1217](https://github.com/go-playground/validator/pull/1217) **Full Changelog**: go-playground/validator@v10.20.0...v10.21.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/denyskon/postalion). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
….0 (#130) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) | `v10.20.0` -> `v10.21.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-playground%2fvalidator%2fv10/v10.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgo-playground%2fvalidator%2fv10/v10.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgo-playground%2fvalidator%2fv10/v10.20.0/v10.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-playground%2fvalidator%2fv10/v10.20.0/v10.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>go-playground/validator (github.com/go-playground/validator/v10)</summary> ### [`v10.21.0`](https://github.com/go-playground/validator/releases/tag/v10.21.0): Release 10.21.0 [Compare Source](https://github.com/go-playground/validator/compare/v10.20.0...v10.21.0) #### What's Changed - MongoDB validator improved by [@​pixel365](https://github.com/pixel365) in [https://github.com/go-playground/validator/pull/1196](https://github.com/go-playground/validator/pull/1196) - change codes bool value to struct{} by [@​nar10z](https://github.com/nar10z) in [https://github.com/go-playground/validator/pull/1270](https://github.com/go-playground/validator/pull/1270) - Fix grammar issues in comments, tests, field names by [@​alexandear](https://github.com/alexandear) in [https://github.com/go-playground/validator/pull/1262](https://github.com/go-playground/validator/pull/1262) - Make docs for required more explicit regarding boolean values by [@​alexongh](https://github.com/alexongh) in [https://github.com/go-playground/validator/pull/1261](https://github.com/go-playground/validator/pull/1261) - Fix Japanese translation of max-items, lt-items and lte-items error by [@​Tomoki108](https://github.com/Tomoki108) in [https://github.com/go-playground/validator/pull/1250](https://github.com/go-playground/validator/pull/1250) - chore: fix some comments by [@​pavedroad](https://github.com/pavedroad) in [https://github.com/go-playground/validator/pull/1242](https://github.com/go-playground/validator/pull/1242) - Polish language support by [@​thinkofher](https://github.com/thinkofher) in [https://github.com/go-playground/validator/pull/1217](https://github.com/go-playground/validator/pull/1217) #### New Contributors - [@​pixel365](https://github.com/pixel365) made their first contribution in [https://github.com/go-playground/validator/pull/1196](https://github.com/go-playground/validator/pull/1196) - [@​nar10z](https://github.com/nar10z) made their first contribution in [https://github.com/go-playground/validator/pull/1270](https://github.com/go-playground/validator/pull/1270) - [@​alexongh](https://github.com/alexongh) made their first contribution in [https://github.com/go-playground/validator/pull/1261](https://github.com/go-playground/validator/pull/1261) - [@​Tomoki108](https://github.com/Tomoki108) made their first contribution in [https://github.com/go-playground/validator/pull/1250](https://github.com/go-playground/validator/pull/1250) - [@​pavedroad](https://github.com/pavedroad) made their first contribution in [https://github.com/go-playground/validator/pull/1242](https://github.com/go-playground/validator/pull/1242) - [@​thinkofher](https://github.com/thinkofher) made their first contribution in [https://github.com/go-playground/validator/pull/1217](https://github.com/go-playground/validator/pull/1217) **Full Changelog**: go-playground/validator@v10.20.0...v10.21.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/nobl9/sloctl). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJnb2xhbmciLCJyZW5vdmF0ZSJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…v10.21.0 (#5705) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) | `v10.20.0` -> `v10.21.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-playground%2fvalidator%2fv10/v10.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgo-playground%2fvalidator%2fv10/v10.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgo-playground%2fvalidator%2fv10/v10.20.0/v10.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-playground%2fvalidator%2fv10/v10.20.0/v10.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>go-playground/validator (github.com/go-playground/validator/v10)</summary> ### [`v10.21.0`](https://github.com/go-playground/validator/releases/tag/v10.21.0): Release 10.21.0 [Compare Source](https://github.com/go-playground/validator/compare/v10.20.0...v10.21.0) #### What's Changed - MongoDB validator improved by [@​pixel365](https://github.com/pixel365) in [https://github.com/go-playground/validator/pull/1196](https://github.com/go-playground/validator/pull/1196) - change codes bool value to struct{} by [@​nar10z](https://github.com/nar10z) in [https://github.com/go-playground/validator/pull/1270](https://github.com/go-playground/validator/pull/1270) - Fix grammar issues in comments, tests, field names by [@​alexandear](https://github.com/alexandear) in [https://github.com/go-playground/validator/pull/1262](https://github.com/go-playground/validator/pull/1262) - Make docs for required more explicit regarding boolean values by [@​alexongh](https://github.com/alexongh) in [https://github.com/go-playground/validator/pull/1261](https://github.com/go-playground/validator/pull/1261) - Fix Japanese translation of max-items, lt-items and lte-items error by [@​Tomoki108](https://github.com/Tomoki108) in [https://github.com/go-playground/validator/pull/1250](https://github.com/go-playground/validator/pull/1250) - chore: fix some comments by [@​pavedroad](https://github.com/pavedroad) in [https://github.com/go-playground/validator/pull/1242](https://github.com/go-playground/validator/pull/1242) - Polish language support by [@​thinkofher](https://github.com/thinkofher) in [https://github.com/go-playground/validator/pull/1217](https://github.com/go-playground/validator/pull/1217) #### New Contributors - [@​pixel365](https://github.com/pixel365) made their first contribution in [https://github.com/go-playground/validator/pull/1196](https://github.com/go-playground/validator/pull/1196) - [@​nar10z](https://github.com/nar10z) made their first contribution in [https://github.com/go-playground/validator/pull/1270](https://github.com/go-playground/validator/pull/1270) - [@​alexongh](https://github.com/alexongh) made their first contribution in [https://github.com/go-playground/validator/pull/1261](https://github.com/go-playground/validator/pull/1261) - [@​Tomoki108](https://github.com/Tomoki108) made their first contribution in [https://github.com/go-playground/validator/pull/1250](https://github.com/go-playground/validator/pull/1250) - [@​pavedroad](https://github.com/pavedroad) made their first contribution in [https://github.com/go-playground/validator/pull/1242](https://github.com/go-playground/validator/pull/1242) - [@​thinkofher](https://github.com/thinkofher) made their first contribution in [https://github.com/go-playground/validator/pull/1217](https://github.com/go-playground/validator/pull/1217) **Full Changelog**: go-playground/validator@v10.20.0...v10.21.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/open-telemetry/opentelemetry-go-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…0.21.0 in go.mod (#50) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) | `v10.17.0` -> `v10.21.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-playground%2fvalidator%2fv10/v10.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgo-playground%2fvalidator%2fv10/v10.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgo-playground%2fvalidator%2fv10/v10.17.0/v10.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-playground%2fvalidator%2fv10/v10.17.0/v10.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>go-playground/validator (github.com/go-playground/validator/v10)</summary> ### [`v10.21.0`](https://github.com/go-playground/validator/releases/tag/v10.21.0): Release 10.21.0 [Compare Source](https://github.com/go-playground/validator/compare/v10.20.0...v10.21.0) #### What's Changed - MongoDB validator improved by [@​pixel365](https://github.com/pixel365) in [https://github.com/go-playground/validator/pull/1196](https://github.com/go-playground/validator/pull/1196) - change codes bool value to struct{} by [@​nar10z](https://github.com/nar10z) in [https://github.com/go-playground/validator/pull/1270](https://github.com/go-playground/validator/pull/1270) - Fix grammar issues in comments, tests, field names by [@​alexandear](https://github.com/alexandear) in [https://github.com/go-playground/validator/pull/1262](https://github.com/go-playground/validator/pull/1262) - Make docs for required more explicit regarding boolean values by [@​alexongh](https://github.com/alexongh) in [https://github.com/go-playground/validator/pull/1261](https://github.com/go-playground/validator/pull/1261) - Fix Japanese translation of max-items, lt-items and lte-items error by [@​Tomoki108](https://github.com/Tomoki108) in [https://github.com/go-playground/validator/pull/1250](https://github.com/go-playground/validator/pull/1250) - chore: fix some comments by [@​pavedroad](https://github.com/pavedroad) in [https://github.com/go-playground/validator/pull/1242](https://github.com/go-playground/validator/pull/1242) - Polish language support by [@​thinkofher](https://github.com/thinkofher) in [https://github.com/go-playground/validator/pull/1217](https://github.com/go-playground/validator/pull/1217) #### New Contributors - [@​pixel365](https://github.com/pixel365) made their first contribution in [https://github.com/go-playground/validator/pull/1196](https://github.com/go-playground/validator/pull/1196) - [@​nar10z](https://github.com/nar10z) made their first contribution in [https://github.com/go-playground/validator/pull/1270](https://github.com/go-playground/validator/pull/1270) - [@​alexongh](https://github.com/alexongh) made their first contribution in [https://github.com/go-playground/validator/pull/1261](https://github.com/go-playground/validator/pull/1261) - [@​Tomoki108](https://github.com/Tomoki108) made their first contribution in [https://github.com/go-playground/validator/pull/1250](https://github.com/go-playground/validator/pull/1250) - [@​pavedroad](https://github.com/pavedroad) made their first contribution in [https://github.com/go-playground/validator/pull/1242](https://github.com/go-playground/validator/pull/1242) - [@​thinkofher](https://github.com/thinkofher) made their first contribution in [https://github.com/go-playground/validator/pull/1217](https://github.com/go-playground/validator/pull/1217) **Full Changelog**: go-playground/validator@v10.20.0...v10.21.0 ### [`v10.20.0`](https://github.com/go-playground/validator/releases/tag/v10.20.0): Release 10.20.0 [Compare Source](https://github.com/go-playground/validator/compare/v10.19.0...v10.20.0) #### What's Changed - Fix ULID should case-insensitive by [@​akayj](https://github.com/akayj) in [https://github.com/go-playground/validator/pull/1258](https://github.com/go-playground/validator/pull/1258) - feat: add base32 validator tag by [@​jamesatkin-myndup](https://github.com/jamesatkin-myndup) in [https://github.com/go-playground/validator/pull/1253](https://github.com/go-playground/validator/pull/1253) - Add EU countries validator by [@​masv3971](https://github.com/masv3971) in [https://github.com/go-playground/validator/pull/1252](https://github.com/go-playground/validator/pull/1252) #### New Contributors - [@​akayj](https://github.com/akayj) made their first contribution in [https://github.com/go-playground/validator/pull/1258](https://github.com/go-playground/validator/pull/1258) - [@​jamesatkin-myndup](https://github.com/jamesatkin-myndup) made their first contribution in [https://github.com/go-playground/validator/pull/1253](https://github.com/go-playground/validator/pull/1253) - [@​masv3971](https://github.com/masv3971) made their first contribution in [https://github.com/go-playground/validator/pull/1252](https://github.com/go-playground/validator/pull/1252) **Full Changelog**: go-playground/validator@v10.19.0...v10.20.0 ### [`v10.19.0`](https://github.com/go-playground/validator/releases/tag/v10.19.0): Release 10.19.0 [Compare Source](https://github.com/go-playground/validator/compare/v10.18.0...v10.19.0) #### What was added? Added opt-in ability to validate private fields in [PR](https://github.com/go-playground/validator/pull/1234), thanks [@​nikolaianohyn](https://github.com/nikolaianohyn) via the new `WithPrivateFieldValidation` option when initializing validator. ### [`v10.18.0`](https://github.com/go-playground/validator/releases/tag/v10.18.0): Release 10.18.0 [Compare Source](https://github.com/go-playground/validator/compare/v10.17.0...v10.18.0) #### What Changed? Updated all dependencies to address dependant alerts, [#​1205](https://github.com/go-playground/validator/issues/1205) and [#​1220](https://github.com/go-playground/validator/issues/1220) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "* */8 * * *" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/jippi/dottie). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zODguMSIsInVwZGF0ZWRJblZlciI6IjM3LjM4OC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Enhances
Added MongoDB connection string validation
Make sure that you've checked the boxes below before you submit PR:
@go-playground/validator-maintainers