-
Notifications
You must be signed in to change notification settings - Fork 471
Hal rendering Jackson2HalModule for custom type is not working #1259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Did you see #1253 (comment)? |
Now I've read. Thank you very much, everything is working great now. |
While I think the route via a custom media type registration is a decent workaround, it's not what it was designed for initially and going down that route shouldn't be necessary if all you want to do is register an media type name alias to The concrete media types a media type implementation is registered under is already obtained via WDYT? |
I seem to get lost between tickets that are touching this topic. This comment was meant to comment on #1253. |
I still have the issue of serializing |
I've checked the provided sample, and it's a bit of a mess. Contrary to what's described here, it only activates UBER but then apparently also tries to register a custom media type for HAL, but does that via an outdated way. We support registering custom media types via |
Well, you're right, I was working with the wrong ObjectMapper, that's why I got Now I'm struggling with query params on Links 😬 |
Http converter renders data as regular json instead (i.e. "links" instead of "_links"). If set jackson module to collectionjson or uber everything seems to work fine.
Configuration
configuration provider
controller
Project reproducing the problem
Is it a bug or (what is more possible) did I miss something?
The text was updated successfully, but these errors were encountered: