amperity / lein-monolith

Leiningen plugin for working with monorepos.
Other
214 stars 18 forks source link

Optimize each by manually applying middleware #82

Closed robhanlon22 closed 4 years ago

robhanlon22 commented 4 years ago

each already has a reference to the monolith in its context. By manually applying the middleware after inserting its symbol and adding a metadata key that identifies already activated monoliths, the number of project reads and initializations can be reduced.

greglook commented 4 years ago

I wound up reverting this in 1.6.1 because it turned out to break managed dependencies (at least) in the leaky profile. 🤕