-
Notifications
You must be signed in to change notification settings - Fork 27
Implement structured field and rule paths, add field and rule values to ValidationErrors #154
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
Merged
Merged
Changes from 8 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
0e335b4
Refactor validation errors
0f4c41c
WIP: RulePath support
ab2e420
Checkpoint
9a9759b
checkpoint: minimize API, fix some extraneous diffs, etc.
657db35
Merge branch 'main' of https://github.com/bufbuild/protovalidate-go i…
8c08015
checkpoint
28a4958
Remove no-longer-used fieldpath test protos
e948b95
DO NOT MERGE: Use proposed protovalidate protos
5e3ce17
Add rule path for custom field constraints
6b1ec55
Merge branch 'main' of https://github.com/bufbuild/protovalidate-go i…
6a86800
Implement tweaked map support in FieldPathElement
985604a
Merge branch 'main' of https://github.com/bufbuild/protovalidate-go i…
2916d63
Update to protovalidate v0.9.0
ec3dec2
Update to protovalidate v0.9.0.
dd6d08d
Refactor Violation API one more time
6881184
Remove hardcoded field path elements, provide FieldDescriptor for values
0ba11b5
Refactor: reduce allocs, remove wrappers
b4b6e9b
Clean up unintentional diff
9405cfd
Coalesce helper functions
012b3dc
Clean up unnecessary re-ordering in diff
c7eb852
Diff trimming, doc fix
ba578ec
Delete now-unused test file
bbd370d
Even simpler handling of nesting
1dfc9df
More diff pruning
0757956
Address review feedback
611775b
Add an example of how one might localize errors
2c4a547
Address collapsed review feedback
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.