Skip to content

SolrRequest.setPath fix; allow null - #4686

Merged
dsmiley merged 2 commits into
apache:mainfrom
dsmiley:setPathRelax
Aug 1, 2026
Merged

SolrRequest.setPath fix; allow null#4686
dsmiley merged 2 commits into
apache:mainfrom
dsmiley:setPathRelax

Conversation

@dsmiley

@dsmiley dsmiley commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

and the constructor should use the same validation.
Fixes a regression in #4665

Updated some callers of setPath that consulted "qt" to no longer do so because it is no longer necessary. I can separate this to another PR if asked.

I held back from updating many callers of setPath to use the QueryRequest constructor, which is nicer IMO.

@epugh

epugh commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

I held back from updating many callers of setPath to use the QueryRequest constructor, which is nicer IMO.

Just looking at the diff, I would urge you to keep updating the many callers.. It's just so much more readable, and we need to get to the other side of having two ways of doing things... This looks great!

@epugh epugh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

personally liked the other route, but totally understand scope. LGTM.

@dsmiley
dsmiley merged commit 14405d7 into apache:main Aug 1, 2026
4 of 6 checks passed
@dsmiley
dsmiley deleted the setPathRelax branch August 1, 2026 16:30
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.

2 participants