- Create object A
- Add element B to nested collection field of object A
- Add element C to nested collection field of object B
- Change any field of object C
Changing B works but C and nested throws exception.
Fix
At this line base.nested(segment) does not always return expected element but it can be obtained by PropertyPath.from(property, currentType).
Example code with postman and curl requests.