mount-lite icon indicating copy to clipboard operation
mount-lite copied to clipboard

Order transitive dependencies

Open robhanlon22 opened this issue 5 years ago • 2 comments

Currently, transitive dependencies are being started in the order they were loaded, not in dependency order. This can cause issues in situations where new states which are needed for substitutes are loaded much later than the original state that is being overridden to depend on those new states.

An example of this is in a test environment where you may have configuration overrides that you wouldn't define in your production overrides that are loaded from dev-only code. Without this change, the new test that was written would fail because the newly added dependency was not loaded first.

I had to do a bit of a hack to remove a state defined by defstate-let me know if there is a better way of doing this.

robhanlon22 avatar Sep 22 '20 23:09 robhanlon22

👍 for consistent ordering!

dparis avatar Sep 25 '20 19:09 dparis

@robhanlon22, are you still interested in updating this PR?

aroemers avatar Dec 03 '22 12:12 aroemers