DATAREST-1479 - Patching collections now also works for nested collections.
We now properly use the PropertyPath's leaf property to check whether we need to deal with a collection in JSON Patch pointers.
This commit is contained in:
@@ -554,7 +554,7 @@ class SpelPath {
|
||||
return nested(segment);
|
||||
}
|
||||
|
||||
TypeInformation<?> typeInformation = basePath.getTypeInformation();
|
||||
TypeInformation<?> typeInformation = basePath.getLeafProperty().getTypeInformation();
|
||||
|
||||
if (typeInformation.isMap()) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user