Skip to content

Handling of path and pathless patch operations #97

@mshiels

Description

@mshiels

Happened to see some wso2 documentation on patch and decided to try the two operations against the reference code and the pathless variation just fails miserably, skipping the patch itself. Is this a known issue, when tracing through the code it just ends up doing a return at some point as something was missing it expected to be set.

pathless
{
"op": "add",
"value": {
"nickName": "shaggy"
}
}

pathed
{
"op": "add",
"path": "nickName",
"value": "Tomy"
}

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