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 overriding query parameters from a ContainerRequestFilter #28595

Merged
merged 1 commit into from Oct 15, 2022

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Oct 14, 2022

Fixes: #28555

Copy link
Contributor

@Sgitario Sgitario left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only a minor suggestion. Other than that, changes look good to me.

// invalidate those
this.uriInfo = null;
this.absoluteUri = null;
return this;
}

protected void setQueryParamsFrom(String uri) {
throw new NotImplementedYet();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is very dangerous (new implementations of this class won't realize that this method needs to be implemented until they create a new instance of it). I would make this method abstract.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally yes, but I don't want to change this important class at this point

@quarkus-bot

This comment has been minimized.

@geoand geoand added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Oct 14, 2022
@quarkus-bot

This comment has been minimized.

@gsmet gsmet merged commit 05f8208 into quarkusio:main Oct 15, 2022
@quarkus-bot quarkus-bot bot added this to the 2.14 - main milestone Oct 15, 2022
@quarkus-bot quarkus-bot bot removed the triage/waiting-for-ci Ready to merge when CI successfully finishes label Oct 15, 2022
@gsmet gsmet modified the milestones: 2.14 - main, 2.13.3.Final Oct 17, 2022
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.

ResteasyReactiveRequestContext.setRequestUri not supporting query parameters
3 participants