Skip to content

Conversation

glossd
Copy link
Owner

@glossd glossd commented Dec 7, 2024

Fixes #33
Because I created fetch.Request with embedded http.Request, my library no longer needs to the PathValue() method, allowing me to downgrade to go1.21
Migration guide:
If you have ever discovered fetch.Request function before, replace it with fetch.Do
If you used json tags in the input of ToHandlerFunc, wrap the input with fetch.Request and access the needed data.
I removed DuplicateHeaders field from everywhere, just rely on Headers

@glossd glossd changed the title Request wrapper WIP Request wrapper Dec 7, 2024
@glossd glossd changed the title WIP Request wrapper Downgrade to go1.21, Request wrapper Dec 8, 2024
@glossd glossd merged commit 8735d26 into master Dec 8, 2024
1 check passed
@glossd glossd deleted the request-wrapper branch December 8, 2024 00:38
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.

ToHttpFunc tags are confusing.

1 participant