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

Resolve incorrect JsonPatchError format for Arrays #221

Merged
merged 7 commits into from Mar 29, 2019

Conversation

ianvonholt
Copy link
Contributor

  • Adding index reference to applyOperation
  • JsonPatchErrors in applyOperation now reference index
  • Arrays now reference index, operation, and document when throwing a
    JsonPatchError

See: #220

JsonPatchErrors in applyOperation now reference index

Arrays now reference index, operation, and document when throwing a 
JsonPatchError
@alshakero alshakero self-requested a review January 17, 2019 13:03
@warpech
Copy link
Collaborator

warpech commented Mar 27, 2019

Thank you @ianvonholt for your submission. We want to accept this. The PR is lacking a test, though. Would you please like to contribute that?

@alshakero
Copy link
Collaborator

I'm taking over this.

@alshakero alshakero changed the base branch from master to ianvonholt-fix March 27, 2019 15:27
@alshakero alshakero changed the base branch from ianvonholt-fix to master March 27, 2019 15:30
@alshakero
Copy link
Collaborator

alshakero commented Mar 27, 2019

This is ready for review.

@ianvonholt
Copy link
Contributor Author

Thank you @alshakero. I had completely forgotten about this.

Copy link
Collaborator

@warpech warpech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It all looks good, but I am missing a test for new error message formatting feature. @alshakero could you please add it?

Copy link
Collaborator

@warpech warpech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

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.

None yet

3 participants