I recently released an app into production using Realm and then needed to add fields to two object types. With a synced realm and additive changes, I'm able to read and write correctly.
I spoke with one of the Realm team members on the forum and added
configuration: Realm.Configuration(schemaVersion: 1)
to my ObservedResults which used the newly updated types. This shouldn't be necessary, but I tried it anyway.
The thought was that this would perhaps deal with this error I am getting, but it hasn't helped.
When dismissing a .sheet where there is an ObservedResults on the parent screen behind the sheet, I get this error which is helpful to see in the SwiftUI.swift file:
I'm using Realm Cocoa 10.5.1
Any guidance on why a synced realm would be asking for a migration on an additive change or what I should be doing differently or if this is a bug?