You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we respond with Content-Type: application/json for HAL. That does not seem quite right, but I am not sure how to fix that.
Normally one would have a HttpMessageConverter for a mime type. But since we tweak Jackson to produce HAL over MappingJacksonXXXHttpMessageConverter, things are more difficult. I am also not sure if that is a good approach in the long run.
It might be more appropriate to have a HalMappingJackson2HttpMessageConverter and a HalMappingJacksonHttpMessageConverter which could be configured like any other message converter if you want HAL support. That MessageConverter should do the Jackson tweaking internally.
If you agreee, I could look into that.
The text was updated successfully, but these errors were encountered:
Currently we respond with Content-Type: application/json for HAL. That does not seem quite right, but I am not sure how to fix that.
Normally one would have a HttpMessageConverter for a mime type. But since we tweak Jackson to produce HAL over MappingJacksonXXXHttpMessageConverter, things are more difficult. I am also not sure if that is a good approach in the long run.
It might be more appropriate to have a HalMappingJackson2HttpMessageConverter and a HalMappingJacksonHttpMessageConverter which could be configured like any other message converter if you want HAL support. That MessageConverter should do the Jackson tweaking internally.
If you agreee, I could look into that.
The text was updated successfully, but these errors were encountered: