Skip to content

Allow pagination of customized requests #1220

@landonxjames

Description

@landonxjames

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p3This is a minor priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions