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

Implement ops::Index with PackageId for Resolve graph #262

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

MarijnS95
Copy link
Contributor

While iterating through dependency packages, I find myself needing to look up dependency nodes recursively through the graph, in the same way that I need Package information for its PackageId via the already-existing ops::Index implementation on Metadata. This is simpler if the indexing operation is also available on a Resolved graph.

@oli-obk
Copy link
Owner

oli-obk commented May 23, 2024

cycling CI

@oli-obk oli-obk closed this May 23, 2024
@oli-obk oli-obk reopened this May 23, 2024
While iterating through dependency packages, I find myself needing to
look up dependency nodes recursively through the graph, in the same
way that I need `Package` information for its `PackageId` via the
already-existing `ops::Index` implementation on `Metadata`.  This is
simpler if the indexing operation is also available on a `Resolve`d
graph.
@MarijnS95 MarijnS95 force-pushed the resolve-index-by-package-id branch from 2f059b4 to e4b1243 Compare May 23, 2024 09:02
@MarijnS95
Copy link
Contributor Author

@oli-obk looks like the CI run needs to be approved again.

@oli-obk
Copy link
Owner

oli-obk commented Jun 13, 2024

Thanks!

@oli-obk oli-obk merged commit 9cf9539 into oli-obk:main Jun 13, 2024
6 checks passed
@MarijnS95 MarijnS95 deleted the resolve-index-by-package-id branch June 13, 2024 17:42
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