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

Better typing of combination operators #245

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

lucaong
Copy link
Owner

@lucaong lucaong commented Jan 22, 2024

Restrict the type of the combineWith search option to only allowed values (currently 'or', 'and', 'and_not', the same strings uppercased or capitalized, or undefined).

Raise a more informative error if an invalid operator is specified.

@lucaong lucaong force-pushed the better-typing-of-combinator-operators branch 3 times, most recently from 09bf223 to b5495cb Compare January 24, 2024 10:38
…rator

Restrict the type of the `combineWith` option to only allowed string
values (currently `'or'`, `'and'`, `'and_not'`, the same uppercased or
capitalized, or `undefined`).

Raise a more informative error when an invalid operator is specified.
@lucaong lucaong force-pushed the better-typing-of-combinator-operators branch from b5495cb to 24f553b Compare January 24, 2024 10:46
@lucaong lucaong changed the title Better typing of combinator operators Better typing of combination operators Jan 25, 2024
@lucaong lucaong merged commit 92cdac9 into master Jan 26, 2024
2 checks passed
@lucaong lucaong deleted the better-typing-of-combinator-operators branch January 26, 2024 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant