Skip to content

Bug: Remove operation has value field in itΒ #8

@peterdk

Description

@peterdk

I noticed that when generating a jsonpatch the remove operation in this library does include the value, while that should not be the case.

Expected

[
    { "op": "remove", "path": "/from" }
]

Actual:

[
    { "op": "remove", "path": "/from", "value": "a value" }
]

I am willing to create a PR to fix this, but not sure if this project is still active and would merge it. Let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions