-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[TST]: add basic tests for where parsing #3593
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
Conversation
Reviewer ChecklistPlease leverage this checklist to ensure your code review is thorough before approving Testing, Bugs, Errors, Logs, Documentation
System Compatibility
Quality
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
@@ -52,7 +52,7 @@ pub fn parse_where_document(json_payload: &Value) -> Result<Where, ValidationErr | |||
let operator_type; | |||
if key == "$contains" { | |||
operator_type = DocumentOperator::Contains; | |||
} else if key == "not_contains" { | |||
} else if key == "$not_contains" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
found a bug :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
374573b
to
f1b5391
Compare
63e2f47
to
81c8470
Compare
f1b5391
to
6079402
Compare
81c8470
to
db8d330
Compare
db8d330
to
0e2499f
Compare
Description of changes
Adds some basic tests for where document and where clause parsing.
Test plan
How are these changes tested?
pytest
for python,yarn test
for js,cargo test
for rustDocumentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?
n/a