Closed shawnburke closed 7 years ago
Why do you think it should be done on the ScopedProvider level, not Provider? Like yaml https://github.com/uber-go/fx/blob/master/config/yaml.go#L148 And yes, we have a bug on change callback, it should include scope key(GFM-290)
We don't have a scope anymore and introduced a wrapper that caches results, which is used in the YAML provider
This guy should probably have a map or something to memoize search results.
https://github.com/uber-go/fx/blob/master/config/provider.go#L58
Might need to also watch change notifications from any memoize'd keys or parents.