Skip to content
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

(#113) Return all issues that have errors #369

Merged
merged 2 commits into from
Apr 19, 2021

Conversation

gep13
Copy link
Member

@gep13 gep13 commented Apr 12, 2021

Description

When there are issues that contain invalid issues, rather than throw
a single exception for the first problem, throw an exception that
contains information about all the problematic issues. This saves the
end user from having to run GRM multiple times, fixing one issue at
a time.

Related Issue

Fixes #113

Motivation and Context

This makes it much easier for working through problematic issues, and prevents the need to run GRM multiple times.

How Has This Been Tested?

New unit tests have been added, and existing tests have been exercised and validated.

Screenshots (if appropriate):

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

gep13 added 2 commits April 12, 2021 21:50
When there are issues that contain invalid issues, rather than throw
a single exception for the first problem, throw an exception that
contains information about all the problematic issues.  This saves the
end user from having to run GRM multiple times, fixing one issue at
a time.
We are now throwing a specific exception, rather than an
InvalidOperationException.  Also, added new tests to assert the
correct number of errors returned in the new exception.
@gep13 gep13 requested a review from AdmiringWorm April 12, 2021 20:55
@gep13 gep13 merged commit ded0ef6 into GitTools:develop Apr 19, 2021
@gep13 gep13 deleted the feature/GH113 branch April 19, 2021 18:17
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.

Show all problems when creating release notes, rather than just showing first problem
1 participant