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

Refactor streaming_search_inner to return a Stream object #15

Merged
merged 13 commits into from
Oct 29, 2024

Conversation

keaz
Copy link
Owner

@keaz keaz commented Oct 9, 2024

This commit refactors the streaming_search_inner method in the LdapClient struct to return a Stream object instead of a vector of SearchEntry objects. The Stream object encapsulates the search stream and provides methods for iterating over the search results. This change improves the usability and flexibility of the streaming_search method.

This commit refactors the `streaming_search_inner` method in the `LdapClient` struct to return a `Stream` object instead of a vector of `SearchEntry` objects. The `Stream` object encapsulates the search stream and provides methods for iterating over the search results. This change improves the usability and flexibility of the `streaming_search` method.
@keaz keaz self-assigned this Oct 9, 2024
@keaz
Copy link
Owner Author

keaz commented Oct 23, 2024

The CI tests are failing?

Yes, it never worked. I fixed it now.

@keaz keaz added the enhancement New feature or request label Oct 24, 2024
Removed pull request from ci.yml
@keaz keaz merged commit 839ea08 into main Oct 29, 2024
1 check passed
@keaz keaz deleted the streaming-search-that-returns-a-stream branch October 29, 2024 10:13
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

Successfully merging this pull request may close these issues.

1 participant