Skip to content

Conversation

@FeepingCreature
Copy link
Contributor

Version of #5 that gathers the list of non-transitive dependencies in advance, as per conversation with @linkrope. I am not very sure if this is an improvement.

Allows a declared dependency 'a -> b' to satisfy a module dependency 'a.x.y -> b.z'.
…ency crossing that package boundary

ie. if you have 'a -> b', you can have a.x import b.y, but only if neither a nor b have dependencies going into or out of them from elsewhere.

a -> b, a -> a.x: allow a.x -> b.y
a -> b, a.x -> a.y: allow a.x -> b.y
a -> b, a.x -> z.x: don't allow a.x -> b.y
a -> b, z.x -> b.y: don't allow a.x -> b.y
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