You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SwiftDataStore only uses the ModelContainers main context, so there should really be no need for explicit saves in the SwiftDataStore. Explicit saves can cause undesirable animation issues in views when inserting objects that drive views. The SwiftDataStore contract can be updated to make it clear that any needed explicit saves should be done by the consumer of the dependency.
The text was updated successfully, but these errors were encountered:
The
SwiftDataStore
only uses theModelContainer
s main context, so there should really be no need for explicit saves in theSwiftDataStore
. Explicit saves can cause undesirable animation issues in views when inserting objects that drive views. TheSwiftDataStore
contract can be updated to make it clear that any needed explicit saves should be done by the consumer of the dependency.The text was updated successfully, but these errors were encountered: