Dan Lepage
Dan Lepage
```go fx.Provide(func() A{}) fx.Provide(func(C) B{}) fx.Provide(func(D) C{}) // A -> {} // B -> C // C -> D (missing) type Param struct { fx.In MyA A MyB B `optional:"true"`...
Would it be possible to make this work in both directions, so that e.g. decoding a `Someone` into an `interface{}` produces a string (the same way `json` allows customizing both...
```go var output any mapstructure.Decode(foo, &output) ``` will interpret `output` as a struct and so when you're done `output` will be a `Foo`. You want: ```go var output map[string]any mapstructure.Decode(foo,...