-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 null values for query, cookies, headers and form params for Reactive REST Client #23876
Conversation
.../src/main/java/io/quarkus/jaxrs/client/reactive/deployment/JaxrsClientReactiveProcessor.java
Outdated
Show resolved
Hide resolved
.../src/main/java/io/quarkus/jaxrs/client/reactive/deployment/JaxrsClientReactiveProcessor.java
Outdated
Show resolved
Hide resolved
Looks like something we should backport? |
...st/java/io/quarkus/rest/client/reactive/registerclientheaders/RegisterClientHeadersTest.java
Show resolved
Hide resolved
e1e1caf
to
0aaaa3d
Compare
thanks for tackling it so quickly @geoand :) |
No problem :) |
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building 0aaaa3d
|
…ctive REST Client Fixes: quarkusio#23872
@@ -2303,9 +2303,13 @@ private ResultHandle addQueryParam(BytecodeCreator methodCreator, | |||
ResultHandle paramAnnotations) { | |||
ResultHandle paramArray; | |||
String componentType = null; | |||
|
|||
AssignableResultHandle result = methodCreator.createVariable(WebTarget.class); | |||
BranchResult isValueNull = methodCreator.ifNull(target); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@geoand Shouldn't this be checking queryParamHandle
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@geoand We're still experiencing errors with null query params.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll have a look tomorrow, my memory has been completely purged of this
Fixes: #23872