Closed
Description
Mathias D opened DATAREST-1006 and commented
Moving to spring data rest Ingalls GA introduces a new problem regarding read only json properties.
We use @JsonProperty(access = READ_ONLY)
to mark fields as read-only in our entities. So this field should be serialized but not deserialized.
With Ingalls a PUT request nulls such a property.
I think in a PUT should treat @JsonProperty(access = READ_ONLY)
just as @JsonIgnore
- so such properts is just ignored in a PUT.
I have added a test on my fork to reproduce the case: mduesterhoeft@c46df6e
Affects: 2.6 GA (Ingalls)
Backported to: 3.0.1 (Kay SR1), 2.6.8 (Ingalls SR8)
1 votes, 3 watchers