Closed tomisacat closed 3 years ago
It's been discussed here : https://github.com/hmlongco/Resolver/issues/86
As discussed earlier, it was needed in order to accomplish a system-wide reset for testing, etc. Prior to that change the inheritance went the other way, application first, then cache added the reset.
The
.application
scope is simply an instance ofResolverScopeCache
, you can't prevent users from callingreset
method within Xcode build system.Maybe we should establish a distinct scope for
.application
(calledResolverScopeApplication
) and prevent thereset
method withfileprivate
modifier? e.g.,