FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Informative msgs when JsonPatchException is thrown by objectsmiths · Pull Request #103 · java-json-tools/json-patch · GitHub

Informative msgs when JsonPatchException is thrown - #103

Open
objectsmiths wants to merge 2 commits into
java-json-tools:masterfrom
objectsmiths:informative-msgs
Open

Informative msgs when JsonPatchException is thrown#103
objectsmiths wants to merge 2 commits into
java-json-tools:masterfrom
objectsmiths:informative-msgs

Conversation

Copy link
Copy Markdown
  1. This PR adds informative msgs to the cases when JsonPatchException is thrown . (for example a missing path is passed etc.).
  2. All the tests have been modified to take in to account the new messages.
  3. We have used this software in our internal project and found it useful to have this information when some thing changed on our backend and the front end was in sync. It would throw generic jsonPatchException (with noSuchPath or noSuchParent which while useful would not pin point to the location of the error. This becomes a problem in projects with quite a few team members who are not proficient in debugging and the architecture is complex.
  4. All the tests are passing after the changes.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL