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 null values for query, cookies, headers and form params for Reactive REST Client #23876

Merged
merged 1 commit into from
Feb 22, 2022

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Feb 22, 2022

Fixes: #23872

@gsmet
Copy link
Member

gsmet commented Feb 22, 2022

Looks like something we should backport?

@geoand geoand added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Feb 22, 2022
@michalszynkiewicz
Copy link
Member

thanks for tackling it so quickly @geoand :)

@geoand
Copy link
Contributor Author

geoand commented Feb 22, 2022

No problem :)

@quarkus-bot
Copy link

quarkus-bot bot commented Feb 22, 2022

This workflow status is outdated as a new workflow run has been triggered.

Failing Jobs - Building 0aaaa3d

Status Name Step Failures Logs Raw logs
JVM Tests - JDK 11 Set up JDK 11 ⚠️ Check → Logs Raw logs
✔️ JVM Tests - JDK 17
Native Tests - Data1 Set up JDK 11 ⚠️ Check → Logs Raw logs
Native Tests - Data2 Set up JDK 11 ⚠️ Check → Logs Raw logs
Native Tests - Data3 Set up JDK 11 ⚠️ Check → Logs Raw logs

@geoand geoand merged commit 0bd2724 into quarkusio:main Feb 22, 2022
@quarkus-bot quarkus-bot bot added this to the 2.8 - main milestone Feb 22, 2022
@quarkus-bot quarkus-bot bot added kind/bugfix and removed triage/waiting-for-ci Ready to merge when CI successfully finishes labels Feb 22, 2022
@geoand geoand deleted the #23872 branch February 23, 2022 05:00
@gsmet gsmet modified the milestones: 2.8 - main, 2.7.3.Final Feb 28, 2022
@@ -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);
Copy link
Contributor

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?

Copy link
Contributor

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.

Copy link
Contributor Author

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

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.

RestEasy Reactive client: optional FormParameters throw error when null
4 participants