-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve information available from diffs
This change adds a lot more details to the result of a ModelDiff, including access to the raw Differences between the models, access to the old and new models through the Differences object, access to the old validation events and new validation events, and access to the diff events. Helper methods were added to ModelDiff.Result to detect which validation events were introduced by a change, which validation events were resolved by a change, and if there are breaking changes in the diff (e.g., events that are ERROR or DANGER). Note that any kind of suppression of diff events would need to be applied and managed outside of this helper functionality. Added some missing equals and hashCode implementations.
- Loading branch information
Showing
5 changed files
with
397 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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 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 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.