Hey, have been playing around with dagger client install go. I see that the dagger.gen.go exports a Connect function which in turn calls serveModuleDependencies, but this is hard coded to assume the moduleSource is ".". For our use case we want to use the generated client in our go cli so we get the nice client feel with the type safety and whatnot (previously we were just doing graphql), but we want to load the module from elsewhere on disk.
The main workaround I see from our perspective is we can initialise Client ourselves and mimic Connect with our own loading logic. This would be fine, but Client fields are private so I we'd need to codegen a NewClient function or something next to the dagger.gen.go. I tried this out and got it working, but obv feels suboptimal and wondering if you have any thoughts or if I'm missing something?