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

Implement predefined field constraints #189

Merged
merged 7 commits into from
Sep 25, 2024

Conversation

jchadwick-buf
Copy link
Member

@jchadwick-buf jchadwick-buf commented Sep 12, 2024

This depends on bufbuild/protovalidate#246.

@jchadwick-buf jchadwick-buf marked this pull request as ready for review September 25, 2024 15:37
@jchadwick-buf
Copy link
Member Author

OK, finally up to date with Protovalidate v0.8.1 and thus ready for review. The field presence workaround I had was failing in a very specific case and I believe this may be the result of some proto2-specific Python behaviors. It is now more specific and should be robust to all of the relevant edge cases, knock on wood.

@jchadwick-buf jchadwick-buf merged commit 3e2e3e3 into main Sep 25, 2024
11 checks passed
@jchadwick-buf jchadwick-buf deleted the jchadwick/shared-field-rules branch September 25, 2024 17:57
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.

2 participants