Hi, is it possible to pass structure as argument of Dagger functions?
An example:
package main
type MyModule struct{}
type Config struct {
A string
B string
}
func (m *MyModule) A(config *Config) string {
return config.A
}
func (m *MyModule) B(config *Config) string {
return config.B
}
The error I currently have is Error: unsupported object type "MyModuleConfig" for flag: config when calling one of the function.