spring-projects / spring-data-rest

Simplifies building hypermedia-driven REST web services on top of Spring Data repositories
https://spring.io/projects/spring-data-rest
Apache License 2.0
905 stars 558 forks source link

Nested arrays of entities need to get PUT semantics applied for merge patch #2358

Closed odrotbohm closed 5 months ago

odrotbohm commented 5 months ago

In the course of debugging #2357, it occurred that the nested array handling applies patch semantics for entities. This seems to have been originally requested in #1294, but is essentially wrong. First tests reveal that except a test particularly implementing the expectation within the ticket, no other tests failed.

We should correct that for the upcoming milestone, but not port the change back as it might subtly break existing systems.