Is guaranteed that if I run
let item = Item()
container.mainContext.insert(item)
let items = container.mainContext.fetch(FetchDescriptor<Item>())
item
is in items
?
I seem to remember that it was not like that in CoreData
Is guaranteed that if I run
let item = Item()
container.mainContext.insert(item)
let items = container.mainContext.fetch(FetchDescriptor<Item>())
item
is in items
?
I seem to remember that it was not like that in CoreData
in MainActor