Since we marked writerDerivedStorage and saveIfNeeded as deprecated in StorageManagerType, we should remove references to these in the stores and use the new performAndSave method instead. The new method ensures that all write operations are handled in a single operation queue (first come first serve).
Extra: Look out for fetch requests made in for loops and optimize those by fetching a list of items or getting items from the relationships with the already fetched object.
Since we marked
writerDerivedStorage
andsaveIfNeeded
as deprecated inStorageManagerType
, we should remove references to these in the stores and use the newperformAndSave
method instead. The new method ensures that all write operations are handled in a single operation queue (first come first serve).Extra: Look out for fetch requests made in for loops and optimize those by fetching a list of items or getting items from the relationships with the already fetched object.