mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-13 12:23:49 +01:00
Remove the dataStack SwiftUI environment key since it's prone to initialization issues
This commit is contained in:
1 parent
2d5bc77219
commit
bb3bc940c2
1 file changed
+1
@@ -45,6 +45,7 @@ extension EnvironmentValues {
|
||||
var dataStack: DataStack
|
||||
```
|
||||
*/
|
||||
@available(*, unavailable, message: "Removed due to being prone to mis-initialization. Please pass your DataStack instance directly, or inject using a method with more deterministic timing.")
|
||||
public var dataStack: DataStack {
|
||||
|
||||
get {
|
||||
|
||||
Reference in new issue
Block a user