Skip to content

Conversation

@nevans
Copy link
Collaborator

@nevans nevans commented Aug 29, 2025

Similar to SearchResult, this method allows ESearchResult to be used
as an argument where a SequenceSet is required, such as with #fetch.

This also updates ESearchResult#to_a to use to_sequence_set.numbers.

@nevans nevans added the enhancement New feature or request label Aug 29, 2025
@nevans nevans changed the title ✨ Allow obj.to_sequence_set => nil in try_convert ✨ Add ESearchResult#to_sequence_set Aug 29, 2025
@nevans nevans changed the base branch from master to sequence_set/allow-to_sequence_set-nil August 29, 2025 16:25
@nevans nevans marked this pull request as draft August 29, 2025 16:25
@nevans nevans marked this pull request as ready for review August 29, 2025 16:27
@nevans nevans marked this pull request as draft August 29, 2025 16:27
Base automatically changed from sequence_set/allow-to_sequence_set-nil to master August 29, 2025 16:34
@nevans nevans marked this pull request as ready for review August 29, 2025 16:34
Similar to `SearchResult`, this method allows ESearchResult to be used
as an argument where a SequenceSet is required, such as with `#fetch`.

This also updates `ESearchResult#to_a` to use `to_sequence_set.numbers`.
@nevans nevans force-pushed the esearch-to_sequence_set branch from f134206 to 93ec2c3 Compare August 29, 2025 16:38
@nevans nevans merged commit 82763e1 into master Aug 29, 2025
37 checks passed
@nevans nevans deleted the esearch-to_sequence_set branch August 29, 2025 18:03
@nevans nevans added the sequence-set Any code the IMAP `sequence-set` data type or grammar rule, especially the SequenceSet class. label Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request sequence-set Any code the IMAP `sequence-set` data type or grammar rule, especially the SequenceSet class.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants