#Swift folks (especially
@mattiemMatt Massicotte ):
With Swift 6.2’s new concurrency checking/rejecting on Actor’s `static var …`, is it safe-enough to do something like this for dependency injection?
```swift
struct Config {
nonisolated(unsafe) private static var _shared: Self = .init()
#if TESTING
static var shared: Self {
get { Self._shared }
set { Self._shared = newValue }
}
#else
static var shared: Self { Self._shared }
#endif
…
}
```