Skip to content

Use String type instead of Url on Request Struct#1122

Merged
spacebear21 merged 1 commit intopayjoin:masterfrom
benalleng:try-request-url-string
Sep 30, 2025
Merged

Use String type instead of Url on Request Struct#1122
spacebear21 merged 1 commit intopayjoin:masterfrom
benalleng:try-request-url-string

Conversation

@benalleng
Copy link
Collaborator

@benalleng benalleng commented Sep 29, 2025

This approach removes url::Url from the public API by chaging the url field type to a String allowing us to not need to change the visibility of the internal fields on the Request Struct.

This is an alternate approach to close #513 and if we like it sill supercede #1121

Pull Request Checklist

Please confirm the following before requesting review:

This approach removes url::Url from the public API by chaging the url
field type to a String allowing us to not need to change the visibility
of the internal fields on the Request Struct.
@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 18113897365

Details

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 84.629%

Totals Coverage Status
Change from base Build 18110655925: 0.0%
Covered Lines: 8589
Relevant Lines: 10149

💛 - Coveralls

Copy link
Contributor

@DanGould DanGould left a comment

Choose a reason for hiding this comment

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

This is a lot simpler. Seems like the way to go.

Copy link
Collaborator

@spacebear21 spacebear21 left a comment

Choose a reason for hiding this comment

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

utACK 1ba8041

@spacebear21 spacebear21 merged commit d144298 into payjoin:master Sep 30, 2025
14 checks passed
@benalleng benalleng mentioned this pull request Sep 30, 2025
2 tasks
@benalleng benalleng deleted the try-request-url-string branch October 6, 2025 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove url::Url types from public API

4 participants