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

Allow using RestResponse<T> as return type for rest client #413

Closed
snowdrop-bot opened this issue Sep 7, 2021 · 0 comments
Closed

Allow using RestResponse<T> as return type for rest client #413

snowdrop-bot opened this issue Sep 7, 2021 · 0 comments
Assignees
Labels
7 - Community development upstream/closed The issue has been closed in the upstream repository

Comments

@snowdrop-bot
Copy link
Collaborator

Description

The rest client (reactive) allows to use Response as a return type for rest methods. Unfortunately, Response is not typed at all and thus when you want to access the status code of the response, you cannot specify the type of the response in the rest client interface. This is not so nice, because ideally, you'd like to specify the whole api in that interface.

In contrast, the RestResponse<T> class can already be used in resteasy-reactive for returning a type response. Please also add support for RestResponse<T> return types in the rest client (reactive).

Implementation ideas

No response


quarkusio#19966


$upstream:19966$

@snowdrop-bot snowdrop-bot added the upstream/closed The issue has been closed in the upstream repository label Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
7 - Community development upstream/closed The issue has been closed in the upstream repository
Projects
None yet
Development

No branches or pull requests

2 participants