-
Notifications
You must be signed in to change notification settings - Fork 446
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
Fix predicate #354
Fix predicate #354
Conversation
…rt_token should be left value in predicate
…oid potential cyclice dependencies while using the library in pegasus.
| Some(pb_type::value::Item::I32(_)) | ||
| Some(pb_type::value::Item::I64(_)) | ||
| Some(pb_type::value::Item::F64(_)) | ||
| Some(pb_type::value::Item::Str(_)) => unimplemented!(), |
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.
These unimplemented stuff is not so hard to fix.
if let Some(right) = right { | ||
Ok(contains_property(name.clone(), right)) | ||
} else { | ||
unimplemented!() |
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.
and these unimplemented ones.
unimplemented!() | ||
} | ||
} | ||
None => unimplemented!(), |
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.
Should None case be handled?
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.
Add the corresponding test case to verify if bugs have been fixed.
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.
119/286 Gremlin test cases passed !!!
What do these changes do?
Related issue number
Fixes #286