Skip to content

Implement predefined field constraints#189

Merged
7 commits merged intomainfrom
jchadwick/shared-field-rules
Sep 25, 2024
Merged

Implement predefined field constraints#189
7 commits merged intomainfrom
jchadwick/shared-field-rules

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Sep 12, 2024

This depends on bufbuild/protovalidate#246.

@ghost ghost marked this pull request as ready for review September 25, 2024 15:37
@ghost
Copy link
Copy Markdown
Author

ghost commented Sep 25, 2024

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.

@ghost ghost requested review from Alfus and rodaine September 25, 2024 15:41
@ghost ghost merged commit 3e2e3e3 into main Sep 25, 2024
@ghost ghost deleted the jchadwick/shared-field-rules branch September 25, 2024 17:57
This pull request was closed.
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.

1 participant