Merged
Conversation
Collaborator
|
So cool ! Thanks a lot @Linda-Njau
Would you prefer that we split the review into several PRs, to introduce the file into another PR? And merge it as soon as possible? |
Contributor
Author
Thanks!
yes, I think that works great |
gr-im
approved these changes
Jan 1, 2026
Collaborator
gr-im
left a comment
There was a problem hiding this comment.
Cool ! I approve!
I think that it deserve a change entry!
Contributor
Author
Thanks!
Sure, I’ll do that |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR refactors the validation error pretty printer to make validation failures easier to read. This is a presentation-only change, validation behavior remains the same.
Previously, validation errors were printed as record-like structures. Once errors became nested (for example, records inside lists), the output was hard to follow and made it difficult to see what actually went wrong.
The main change is breaking validation errors into clearer sections. Errors are separated from the given data, and nested errors are presented in a way that makes the structure easier to follow.
For example, an invalid list error now looks like:
There are also a few smaller changes, such as rewording messages, explicitly counting and numbering errors, and other formatting improvements.
TBD: validation errors currently only display the entity name; I’m still working on including the file path in the error message.