Skip to content

should change add to replace? #44

Open
@Alanscut

Description

@Alanscut

when I run the follow case with python-json-patch, it failed. Detail in stefankoegl/python-json-patch#111 (comment). But when I change the add operation to replace, it succeeded.

{ "comment": "replace array document with object document?",
"doc": [],
"patch": [{"op": "add", "path": "", "value": {}}],
"expected": {} },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions