Hey there!
I’m in the process of migrating one of our monorepo to validate our dagger poc. We currently use moon mostly for task dependencies and cache. What’s the recommended dagger way - if there’s any already?
As a simplified context, let’s say I have 2 libs (l1 & l2) and an app (a1). a1 depends on both l1 & l2, l2 depends on l1, l1 is standalone. When using moon, we can configure our projects so that it can assess what to run depending on what changed in the context of the project graph. If l1 changed, everything’s gonna be rebuilt. Similarly, when working on a project, running a project local task will call the full upward chain, leveraging cache if any exists.
I plan on creating one dagger module per project, plus a root dagger module and was wondering if 1) it’s the right plan and 2) is there a way to leverage dagger internal DAG to implement the dependency graph, or if I have to implement it from scratch.

. Sorry I’m still learning my way in.