-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 Reactive: Custom ParamConverter
s not used for elements of Set
in query params
#27515
Comments
/cc @FroMage, @geoand, @stuartwdouglas |
I attempted to investigate/fix this, but it proved beyond my RestEasy Reactive knowledge haha. I can say the |
Thanks for the report and looking into it. #27529 fixes the issue. |
Properly use ParamConverter to converting the values of collection types
Fixes: quarkusio#27515 (cherry picked from commit 2b85546)
Describe the bug
RestEasy Reactive does not use custom
ParamConverter
s when deserializing elements of aSet
for query paramFor example we have a custom converter for UUIDs, with this following JAX-RS method, the converter is never called for the elements of
ids
:Expected behavior
Properly registered
ParamConverter
s are used when deserializing query parameters that are collection types.FYI, RestEasy Reactive Client uses them as expected when serializing requests using the same interface/method.
Actual behavior
The "default" converter is always used. Even if a custom converter is present and properly registered.
How to Reproduce?
Output of
uname -a
orver
macOS 12
Output of
java -version
Java 17
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.11.2.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: