-
Notifications
You must be signed in to change notification settings - Fork 112
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
[WIP] Update Transaction trait and implementations to return counts #199
Conversation
update Transaction trait so it returns counts from set and delete operations.
Update MemoryDatastore so it returns counts from set and delete operations.
@ysimonson Can you review the changes I made to |
|
||
let mut deletable_vertex_properties: Vec<(Uuid, String)> = Vec::new(); | ||
let mut deletable_vertex_properties: Vec<(Uuid, String)> = Vec::new(); |
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.
This isn't used at all
} | ||
|
||
let mut deletable_edges: Vec<EdgeKey> = Vec::new(); | ||
self.vertex_properties.remove(&property_key); |
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.
This is iterating through self.vertex_properties
and removing elements at the same time, which should fail AFAIK
You can test out these changes by cding into lib and running |
@ozgrakkurt how's progress on this? I'm wondering if I should wait for this before releasing 3.0. |
I hope I can finish it by the end of the week. |
I'm going to close this out since there hasn't been progress in the past few months. Hoping you can circle back to this at some point though @ozgrakkurt! |
Update Transaction trait and implementations to return counts from set and delete operations for checking if operation succeeded.
closes #192