Skip to content

Add option for exclute test operation #58

Open
@okrimsoft

Description

@okrimsoft

Could be usefull add ability to disable test operation in JsonDiff
some node classes like fast-json-patch work also without and in websocket comunication can reduce traffic with large amount of change

if ($this->jsonPatch !== null) {
    if ( ! self::SKIP_TEST_ENTRIES ) {
        $this->jsonPatch->op(new Test($this->path, $original));
    }
    $this->jsonPatch->op(new Replace($this->path, $new));
}

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