Skip to content

Cant't get HAL-Type serialization to work #148

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

Closed
gregorriegler opened this issue Feb 6, 2014 · 2 comments
Closed

Cant't get HAL-Type serialization to work #148

gregorriegler opened this issue Feb 6, 2014 · 2 comments
Assignees
Milestone

Comments

@gregorriegler
Copy link

Using spring hatoeas 0.9.0-RELEASE and spring webmvc 3.2.7-RELEASE
I have Configured everything in Java, and set
@EnableHypermediaSupport(type = HAL)

The HypermediaSupportBeanDefinitionRegistrar is successfully adding a Jackson ObjectMapper with Mixins for Resources to the MessageConverter list.

Yet it seems, when i debug a Request, in the AbstractMessageConverterMethodProcessor which is writing the response in its method writeWithMessageConverters, it does not contain the Jackson HAL ObjectMapper.

It seems as if these two (HypermediaSupportBeanDefinitionRegistrar, AbstractMessageConverterMethodProcessor) work with different Lists of MessageConverters.

@gregorriegler
Copy link
Author

This is probably duplicate of #134 sorry. My Issue filters were not set appropriately, and i did not see any issues.

@odrotbohm odrotbohm added this to the 0.10 milestone Mar 19, 2014
@odrotbohm odrotbohm self-assigned this Mar 19, 2014
@odrotbohm
Copy link
Member

That should be fixed with the fix for #134.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants