Add version property to ResponseBody if the returned response is of collection type [DATAREST-636] #1013
Labels
status: declined
A suggestion or change that we don't feel we should currently apply
type: enhancement
A general enhancement
Rakesh opened DATAREST-636 and commented
Currently, the version property is being stripped of from payload through
PersistentEntityJackson2Module
. The ETag support is available when individual entities are pulled. But, obviously it doesn't make sense for a collection (A collection of search results for example). Now, when the client intends to update an entity from a search result, it is counter productive to make a server call just to know the ETag of that entity.In such a case, providing support for adding version number in the payload could be of some help.
Reference URL: http://stackoverflow.com/questions/31843179/jackson-jpa-version-not-serialized/31855381
The text was updated successfully, but these errors were encountered: