#Yeah, basic idea, but in a long pipeline
1 messages · Page 1 of 1 (latest)
Yeah usually it involves creating a custom struct/class to keep track of all the parts like in the example. There's also the new ReturnType option https://pkg.go.dev/dagger.io/dagger#ReturnType where we can actually get a lot more flexible for cases like this but I don't have an example handy. That gets passed to Expect in a WithExec https://pkg.go.dev/dagger.io/dagger#ContainerWithExecOpts