spring-projects / spring-projects/spring-data-rest

Make merging complex fields on PUT optional [DATAREST-1015]

Open
#1,377 1 comment 0 reactions 1 assignee View on GitHub

@odrotbohm is already working on this.

Since Dec 31, 2020.

type: enhancement
Dominant language
Java
Stars
958
Forks
568
PR merge metrics
No merged PRs in 30d

Description

Joseph Valerio opened DATAREST-1015 and commented

Make merging complex fields on PUT configurable at a system level.

When we put a complex field containing json, SDR merges the result, which is the underlying issues for DATAREST-919, and then the "fix" created DATAREST-1001. We are seeing some merging behavior we don't like (inability to remove object keys) and would like to turn merging off for PUT, which makes sense given the PUT semantics. We just want to provide the entire complex json structure, and have it accepted as is


Affects: 2.5.8 (Hopper SR8)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.