-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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 us to configure dynamic query parameters in the rest client #24764
Comments
We should definitely allow this for query params and I would assume also form params and header params. We should probably use the @michalszynkiewicz does that sound good? If so, I'll pick this up. |
yes, thank you! :) |
How about using |
Never mind, sorry, forgot you are talking about the rest client |
👍 Np, my first example code is a bit miss-leading, as it shows the controller method instead of the rest-client method. |
Add support for sending query params as using a Map in Reactive Rest Client
Resolves: quarkusio#24764 (cherry picked from commit 1934906)
Resolves: quarkusio#24764 (cherry picked from commit 1934906)
Description
In certain scenarios it's not possible to know all query parameters in advance and to configure these accordingly with the
@QueryParam("verbose")
annotation. Other frameworks offer solutions for this, like annotating a map parameter with a@RequestParam
annotation:It would be nice if we would have an option to configure dynamic query paramters in quarkus as well. There is a workaround for this by adding a ClientRequestFilter, i.e:
This method is a bit cumbersome though imo.
Implementation ideas
No response
The text was updated successfully, but these errors were encountered: