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

Make sure @ClientExceptionMapper works properly in native mode #23936

Merged
merged 1 commit into from Feb 25, 2022

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Feb 24, 2022

Fixes: #23766


// this isn't used, but it makes sure that the generated provider can be properly instantiated in native mode
@ClientExceptionMapper
static RuntimeException toException(Response response) {
Copy link
Member

Choose a reason for hiding this comment

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

can we use it instead?
In the future we may have other native bugs in this and having half of the test already written maybe it's worth going all the way?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I'll certainly add the rest of the test in the future :)

@geoand geoand merged commit 8d82223 into quarkusio:main Feb 25, 2022
@quarkus-bot quarkus-bot bot added this to the 2.8 - main milestone Feb 25, 2022
@geoand geoand deleted the #23766-again branch February 25, 2022 10:48
@quarkus-bot
Copy link

quarkus-bot bot commented Feb 25, 2022

Milestone is already set for some of the items:

We haven't automatically updated the milestones for these items.

This message is automatically generated by a bot.

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

Successfully merging this pull request may close these issues.

Unable to use @ClientExceptionMapper in native build
3 participants