Skip to content
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

[RESTEASY-1930] NullEntityProxyTest, VariantAcceptTest #1617

Merged
merged 1 commit into from Jul 26, 2018

Conversation

kanovotn
Copy link
Member

No description provided.

return jsonb.fromJson(entityStream, genericType);
// If null is returned, considered to be empty stream
} catch (NullPointerException ex) {
return null;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is based on behavior of ResteasyJackson2Provider, it also allows to return null from readFrom in case the entity stream is empty.

@asoldano asoldano added the 3.6 label Jul 26, 2018
@asoldano asoldano merged commit 7458c76 into resteasy:3.6 Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants