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

Clone for RequestBuilder #110

Closed
phungleson opened this issue Dec 5, 2021 · 2 comments
Closed

Clone for RequestBuilder #110

phungleson opened this issue Dec 5, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@phungleson
Copy link
Contributor

I am not sure it is a common use case but I am making lots of requests (mainly for testing) and each of them is slightly different.

So I am thinking of using RequestBuilder so that I can share some common headers.. etc...

However whenever I consume it into Request I cannot use request_builder any more, it would be helpful if RequestBuilder is cloneable.

Thanks!

@phungleson phungleson added the enhancement New feature or request label Dec 5, 2021
@sunli829
Copy link
Collaborator

sunli829 commented Dec 5, 2021

This cannot be achieved because Extensions cannot be cloned. 🙂

@phungleson
Copy link
Contributor Author

Yeah thanks, okay I will DIY for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants