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

✨ Coerce Set, :*, #to_sequence_set search args into sequence-set #351

Merged
merged 8 commits into from
Nov 8, 2024

Conversation

nevans
Copy link
Collaborator

@nevans nevans commented Nov 8, 2024

This was extracted from #345. This adds types which will be converted into SequenceSet, so that PR can focus only on not converting a few types to SequenceSet.

Also deleted redundant `private_const` argument
This adds tests for
* String => quoted string
* Range  => sequence-set
* -1     => sequence-set
* sequence-set string with "*" => quoted string
This format simplifies updating the docs in later commits.
This will be useful later, for recursively inspecting arrays.

Also, the three different cases are split up, because we'll probably add
extra limitations on `Range` and `Array` in a different PR.
This catches invalid args slightly sooner.
@nevans nevans changed the title ✨ Coerce Set, :*, and responds to #to_sequence_set search args into sequence-set ✨ Coerce Set, :*, #to_sequence_set search args into sequence-set Nov 8, 2024
@nevans nevans merged commit 799cc94 into master Nov 8, 2024
22 checks passed
@nevans nevans deleted the search-coerce-sequence_set branch November 8, 2024 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant