Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Nov 27, 2024

Implements the changes needed to pass conformance after bufbuild/protovalidate#265.

This is basically a straight port of what is done in bufbuild/protovalidate-go#154, owing to the similarities between protovalidate-go and protovalidate-java. Unfortunately this means it inherits some of the trickier maneuvers needed to weave the right data into the right places. This version is also not as efficient as a result of differences between Go and Java protobufs, but effort was made to try to prevent big regressions in the case of successful validation.

Some of this is probably not as pretty as it could be. I'm open to improvements if there are any obvious things (I am certainly not a Java expert after all) but if possible I'd like to defer anything that would require major rethinking to down the road. (Happy to add TODOs for those, though.)

DO NOT MERGE until the following is done:

@ghost ghost merged commit fabdc93 into main Dec 2, 2024
5 checks passed
@ghost ghost deleted the jchadwick/structured-field-paths branch December 2, 2024 16:18
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