You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! We currently do not support this feature, but I think we might want to.
This ties into two issue that have been discussed on the uber-go/fx project more: uber-go/fx#725 and uber-go/fx#726.
Dig currently prevents structs tagged with dig.In from being returned from a constructor.
There could be two ways for us to solve this:
Remove that restrictions. We'd have to be careful about this and evaluate the implications and possible misuses of it.
Support tagging the struct as a dig.In temporarily and then letting the constructor return it (this will need fx.In without tagging a struct fx#726).
We'll discuss this internally and try to find a long-term solution here.
As above, I must create injector struct as param to NewZoo. How can I simplify it.Like this
The text was updated successfully, but these errors were encountered: