Please sign in to comment.
DATAREST-995 - Fixed detection of collection append operations for JS…
…ON Patch requests. We previously erroneously looked for a ~ in a JSON Pointer to indicate collection append in e.g. an add operation. We now also support the actually correct - keeping the original behavior for now to not break clients that currently make use of it.
- Loading branch information...
Showing with 19 additions and 6 deletions.
- +2 −2 ...ata-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/PatchOperation.java
- +5 −3 ...ng-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/patch/PathToSpEL.java
- +12 −1 ...-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/patch/AddOperationTests.java