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

Prevent NPE when a JAX-RS method returns a Multi and does not declare @Produces #24138

Merged
merged 1 commit into from
Mar 7, 2022

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Mar 7, 2022

@geoand geoand requested a review from gastaldi March 7, 2022 09:42
@gastaldi
Copy link
Contributor

gastaldi commented Mar 7, 2022

Dumb question (probably for another PR): Given that the default @Produces for classic RESTEasy is JSON, can we assume it here too?

@geoand
Copy link
Contributor Author

geoand commented Mar 7, 2022

We can, but we don't really want to for the Multi use case (which already complicated as it is :)).

@geoand geoand added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Mar 7, 2022
@geoand geoand merged commit 56dc389 into quarkusio:main Mar 7, 2022
@quarkus-bot quarkus-bot bot added this to the 2.8 - main milestone Mar 7, 2022
@geoand geoand deleted the rr-multi-npe branch March 7, 2022 14:26
@quarkus-bot quarkus-bot bot removed the triage/waiting-for-ci Ready to merge when CI successfully finishes label Mar 7, 2022
@gsmet gsmet modified the milestones: 2.8 - main, 2.7.4.Final Mar 7, 2022
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

Successfully merging this pull request may close these issues.

3 participants