We need to be able to drop the restriction, both in terms of options dig.Name and dig.Group and dig.Out struct annotations on name and group being mutually exclusive.
In a shortly upcoming PR, this can then be exploited to populate value group maps where the 'name' tag becomes the key of a map[string][T]
As per Dig issue: https://github.com/uber-go/dig/issues/380
In order to support Fx feature requests
https://github.com/uber-go/fx/issues/998 https://github.com/uber-go/fx/issues/1036
We need to be able to drop the restriction, both in terms of options dig.Name and dig.Group and dig.Out struct annotations on
name
andgroup
being mutually exclusive.In a shortly upcoming PR, this can then be exploited to populate value group maps where the 'name' tag becomes the key of a map[string][T]
For now, please do not merge.