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

Add validation to the input patch during parsing #136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

swaranga
Copy link

@swaranga swaranga commented Sep 1, 2022

Adding validation to the input when parsing a Json patch. If the validation fails, the code throws an IllegalArgumentException. Also added tests to validate the different cases are handled.

@swaranga
Copy link
Author

Ping!

@swaranga
Copy link
Author

Pinging again. Is this project no longer accepting pull requests?

@tagorenathv
Copy link

+1
This PR address issue: #99
Good to have this. Please merge.

@reckenreb
Copy link

@tagorenathv I don't think this does more than just basic validation. The issue #99 (as from what I understand) is about defining combinations of operations and paths which are not valid. E.g. defining that one cannot perform operation "replace" on field username or something like that.

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.

4 participants