Skip to content

Implement WebClient HttpRequest#uri() for UriTemplate.#2823

Merged
vietj merged 1 commit intomasterfrom
implement-http-request-uri-with-templates
Nov 3, 2025
Merged

Implement WebClient HttpRequest#uri() for UriTemplate.#2823
vietj merged 1 commit intomasterfrom
implement-http-request-uri-with-templates

Conversation

@vietj
Copy link
Copy Markdown
Contributor

@vietj vietj commented Nov 3, 2025

Motivation:

HttpRequest#uri assumes that its uri implements correctly toString() when it is an instance of UriTemplate and therefore returns the Object implementation of toString().

Changes:

When HttpRequest implementation uri is an instance of UriTemplate, expand the template with the HttpRequest template params.

Motivation:

HttpRequest#uri assumes that its uri implements correctly toString() when it is an instance of UriTemplate and therefore returns the Object implementation of toString().

Changes:

When HttpRequest implementation uri is an instance of UriTemplate, expand the template with the HttpRequest template params.
@vietj vietj added this to the 5.1.0 milestone Nov 3, 2025
@vietj vietj merged commit 4efb7b0 into master Nov 3, 2025
7 checks passed
@vietj vietj deleted the implement-http-request-uri-with-templates branch November 3, 2025 15:32
@vietj vietj added the bug label Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant