stefankoegl / python-json-patch

Applying JSON Patches in Python
https://python-json-patch.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
434 stars 94 forks source link

B/fix invalid remove index #134

Closed Ventilateur closed 3 years ago

Ventilateur commented 3 years ago

Reference issue: https://github.com/stefankoegl/python-json-patch/issues/133

What does this fix?

Attempt to remove a dash "-" element of an array will raise a JsonPatchConflict instead of TypeError.

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 65.846% when pulling 46eef55d5170c08dd9513c86703b365f3d51db3c on Ventilateur:b/fix-invalid-remove-index into a6526489c4b741e1b603b5bb988ecc9aefd3e880 on stefankoegl:master.

stefankoegl commented 3 years ago

Thanks :)