mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-18 07:24:09 +01:00
Remove the dataStack SwiftUI environment key since it's prone to initialization issues
This commit is contained in:
@@ -45,6 +45,7 @@ extension EnvironmentValues {
|
|||||||
var dataStack: DataStack
|
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 {
|
public var dataStack: DataStack {
|
||||||
|
|
||||||
get {
|
get {
|
||||||
|
|||||||
Reference in New Issue
Block a user