Hi
Not sure if this was asked before
Is it possible to run dagger modules from inside dagger custom applications? https://docs.dagger.io/extending/custom-applications/go/
My use case is that I want to provide a dagger module that has specific logic for building certain applications, where developers can utilize the power of dagger modules functionality to enable TUI and have the ability to debug
But at the same time use the same code inside a custom dagger application so I can utilize multiple clients to connect to multiple hosts and architectures using https://pkg.go.dev/dagger.io/dagger#WithRunnerHost
For example, I have code that builds for arm64 and x86_64, now I know dagger supports cross builds using builtkit but its very slow, and I have access to an arm64 host and an x86_64 host, so I would like to have the custom application to create two clients, one for arm64 and one for x86_64, run the dagger module to prevent duplicate code, and get the result from it
Is such thing possible?