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

Validate both in and notin the same way #219

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

parthaa
Copy link
Contributor

@parthaa parthaa commented Oct 23, 2023

This commit fixes the following error

Model.search_for("id !^ (2,3)") fails with
ScopedSearch::QueryNotSupported: Value '2,3' is not valid for field 'id'

It does it by splitting value for both in and not in

@adamruzicka
Copy link
Collaborator

Could we get a test for this?

This commit fixes the following error

Model.search_for("id !^ (2,3)") fails with
ScopedSearch::QueryNotSupported: Value '2,3' is not valid for field 'id'

It does it by splitting value for both in and not in
@parthaa
Copy link
Contributor Author

parthaa commented Oct 24, 2023

Could we get a test for this?

Updated

@adamruzicka adamruzicka merged commit 5fbfa7f into wvanbergen:master Oct 24, 2023
16 of 18 checks passed
@parthaa parthaa deleted the validate-map branch October 24, 2023 14:30
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.

2 participants