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

Use same ObjectMapper for client and server in ResourceTestRule #948

Merged
merged 1 commit into from Mar 19, 2015

Conversation

Projects
None yet
3 participants
@froden
Copy link
Contributor

froden commented Mar 18, 2015

In ResourceTestRule configure the client in JerseyTest to use the same provided ObjectMapper as the server to prevent serialization/deserialization issues.

See dropwizard/dropwizard-java8#8 for details.

Use same ObjectMapper for client and server in ResourceTestRule
When configuring the JerseyTest register a JsonProvider with the same
mapper for the client as for the server to prevent
serialization/deserialization mismatch.

arteam added a commit that referenced this pull request Mar 19, 2015

Merge pull request #948 from froden/resource_test_rule
Use same ObjectMapper for client and server in ResourceTestRule

@arteam arteam merged commit 1bfa084 into dropwizard:master Mar 19, 2015

@arteam

This comment has been minimized.

Copy link
Member

arteam commented Mar 19, 2015

Looks great! Thanks for your contribution.

@froden froden deleted the froden:resource_test_rule branch Mar 19, 2015

@jplock jplock added this to the 0.8.1 milestone Apr 1, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment