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

Allow pagination of customized requests #1220

Open
2 tasks
landonxjames opened this issue Dec 12, 2024 · 0 comments
Open
2 tasks

Allow pagination of customized requests #1220

landonxjames opened this issue Dec 12, 2024 · 0 comments
Labels
feature-request A feature should be added or improved. p3 This is a minor priority issue

Comments

@landonxjames
Copy link
Contributor

landonxjames commented Dec 12, 2024

Describe the feature

This works and correctly paginates the request:

let request = self
            .client
            .operation();

request.into_paginator().send().collect().await

When updating that request with a customization it no longer works since the CustomizableOperation type does not contain an into_paginator function.

let request = self
            .client
            .operation()
            .customize()
            .mutate_request(move |req| {...});

request.into_paginator().send().collect().await

throws:

no method named `into_paginator` found for struct `CustomizableOperation`

Use Case

I would like to be able to register interceptors on paginatable requests and still have them automatically turned into a paginator.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

A note for the community

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue, please leave a comment
@landonxjames landonxjames added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Dec 12, 2024
@jmklix jmklix added p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. p3 This is a minor priority issue
Projects
None yet
Development

No branches or pull requests

2 participants