Skip to content

Conversation

@objectsmiths
Copy link

  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.

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