Skip to content

Add option for exclute test operation #58

@okr1m

Description

@okr1m

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions