Manuel Entrena

Results 28 comments of Manuel Entrena

Hi @sskjames, I'm afraid there's currently no logic to handle a migration. Can you paste your migration code here? I would like to add support for migrations and it might...

Hey @sskjames I'm thinking about your scenario and wondering if what you're doing isn't already the best possible solution. Any kind of migration that removes or renames a field will...

Hey, would need more information to possibly look into this. Things like snippets, a description of your flow, a description of how many Realms you're using and where you're storing......

Thanks, I'll reopen to keep as a reminder. Now that I went through the trouble of supporting int primary keys I'd better make sure it works...

Hey @sskjames I'm trying to reproduce the issue you described with int primary keys, could you clarify: - Were changes not detected in the parent entity or the child entity?...

`SyncError` is an Int enum, do you know which case you're getting? For reference: ```swift @objc public enum SyncError: Int, Error { /** * Received when synchronize is called while...

Record properties must be of a type that conforms to `CKRecordValueProtocol`, which includes: [Array](doc://com.apple.documentation/documentation/swift/array?language=swift)(Conforms when Element conforms to CKRecordValueProtocol.) Bool CKAsset CKRecord.Reference CLLocation Data Date Double Float Int Int16 Int32...

Correct, CloudKit doesn't support them. CloudKit only supports many-to-one relationships by using a reference in each of the "many" records to the "one" record (see: https://developer.apple.com/documentation/cloudkit/ckrecord/reference)

That's a good question, the most I found is [this](https://developer.apple.com/documentation/coredata/mirroring_a_core_data_store_with_cloudkit/creating_a_core_data_model_for_cloudkit): ``` All relationships must be optional. Due to operation size limitations, CloudKit may not save relationship changes atomically. All relationships...

There's no support for this at the moment, I would recommend storing them in a different Realm or Core Data Store that is not associated to a synchronizer.