Skip to content

Conversation

@nevans
Copy link
Collaborator

@nevansnevans 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.

@nevansnevans added the enhancement New feature or request label Aug 29, 2025
@nevansnevans changed the title ✨ Allow obj.to_sequence_set => nil in try_convert✨ Add ESearchResult#to_sequence_setAug 29, 2025
@nevansnevans changed the base branch from master to sequence_set/allow-to_sequence_set-nilAugust 29, 2025 16:25
@nevansnevans marked this pull request as draft August 29, 2025 16:25
@nevansnevans marked this pull request as ready for review August 29, 2025 16:27
@nevansnevans marked this pull request as draft August 29, 2025 16:27
Base automatically changed from sequence_set/allow-to_sequence_set-nil to masterAugust 29, 2025 16:34
@nevansnevans 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`.
@nevansnevansforce-pushed the esearch-to_sequence_set branch from f134206 to 93ec2c3CompareAugust 29, 2025 16:38
@nevansnevans merged commit 82763e1 into masterAug 29, 2025
37 checks passed
@nevansnevans deleted the esearch-to_sequence_set branch August 29, 2025 18:03
@nevansnevans 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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature or requestsequence-setAny 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

@nevans