-
Notifications
You must be signed in to change notification settings - Fork 19
Refactor graph wrapper #250
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
Refactor graph wrapper #250
Conversation
45d98ac to
09e802c
Compare
CodSpeed Instrumentation Performance ReportMerging #250 will not alter performanceComparing Summary
|
seddonym
left a comment
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.
Thanks for this - I like some of the changes but am not sure about (i) the naming of PyPackageDependency and (ii) the removal of the graph wrapper. Happy to discuss as maybe I've misunderstood.
rust/src/graph/mod.rs
Outdated
| Err(GrimpError::ModuleNotPresent(_)) => { | ||
| Err(GrimpError::NoSuchContainer(name.into()))? | ||
| } | ||
| _ => panic!("unexpected error parsing containers"), |
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 change!
09e802c to
1cb7dbb
Compare
This requires renaming the `PackageDependency` already in the graph module.
This allows making previously unreachable code paths unrepresentable.
1cb7dbb to
c17e3f7
Compare
seddonym
left a comment
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, thank you!
Best reviewed and merged after #249.