Skip to content
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

feat(unique): Add support for struct memember validation #1048

Merged
merged 1 commit into from
Mar 19, 2023

Conversation

zemzale
Copy link
Member

@zemzale zemzale commented Dec 27, 2022

Fixes Or Enhances

Issue #1034

This allows validating that two struct members are unique. This has
been documented as a feature but has never been implemented.

Make sure that you've checked the boxes below before you submit PR:

  • Tests exist or have been written that cover this particular change.

@go-playground/validator-maintainers

This allows validating that two struct memebers are unique. This has
been documented as a feature, but has never been actually implemented.
@zemzale zemzale requested a review from a team as a code owner December 27, 2022 14:09
@coveralls
Copy link

Coverage Status

Coverage: 74.181% (-0.001%) from 74.182% when pulling 0a12a12 on zemzale:unique-struct into c7e0172 on go-playground:master.

@nmfzone
Copy link

nmfzone commented Jan 30, 2023

No update?

@deankarn deankarn merged commit 1c1f70d into go-playground:master Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants