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

Add clone method in Request #718

Closed
jeevatkm opened this issue Oct 2, 2023 Discussed in #588 · 1 comment
Closed

Add clone method in Request #718

jeevatkm opened this issue Oct 2, 2023 Discussed in #588 · 1 comment
Assignees

Comments

@jeevatkm
Copy link
Member

jeevatkm commented Oct 2, 2023

Discussed in #588

Originally posted by shotamakino October 11, 2022
Hi, thank you for this great package!

I am trying to clone a Request instance in order to reuse it again with a different set of query parameters (for pagination). I was wondering if there's some kind of support for a Clone method similar to https://pkg.go.dev/net/http#Request.Clone?

@jeevatkm jeevatkm added this to the v3.0.0 Milestone milestone Oct 2, 2023
@jeevatkm jeevatkm changed the title Reusing Request Add clone method in Request Oct 8, 2023
@jeevatkm jeevatkm self-assigned this Oct 4, 2024
@jeevatkm
Copy link
Member Author

jeevatkm commented Oct 4, 2024

Request.Clone has been added in the v3 development.

@jeevatkm jeevatkm closed this as completed Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant