eclipse-ee4j / eclipse-ee4j/jersey
Partial update with PUT
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
I want to implement a partial update with PUT (don't suggest PATCH to me, not going to happen :P).
When using normal beans you don't differentiate between null and ascent.
Null = update the value to null
Absent = Don't update the field.
Example.
POST { "value1": "a", "value2": "b" }
PUT { "value1": "c" }
GET { "value1": "c", "value2": "b" }
POST { "value1": "a", "value2": "b" }
PUT { "value1": "c", "value2": null }
GET { "value1": "c", "value2": null }
How can I implement this with Jersey?
I would still like to use beans and not a map instead....
Contributor guide
Research direction
No file, test, or entry point is named. Start by reviewing Jersey's PUT request handling and bean deserialization; done means defining and documenting how absent and null bean properties are distinguished during partial updates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100