Eduardo López
Eduardo López
Fixes #867 Updated to Core 12.5.0 and fixed the following breaking changes - Queries now receive a `realm_query_arg_t` instead of a `realm_value_t` - see https://github.com/realm/realm-core/issues/4266 for more details. - Anonymous...
The `RealmSet` interface is implemented by unmanaged and managed sets. `UnmanagedRealmSet`s implement the interface delegating on `mutableSetOf()`. `ManagedRealmSet`s are implementing the following: ``` AbstractMutableSet(), RealmSet ``` `AbstractMutableSet` has defaults for...
Added `RecoverUnsycedChangesStrategy` and `RecoverOrDiscardUnsyncedChangesStrategy` and lifted restrictions on strategies depending on the Sync mode. Similarly to the Java implementation (https://github.com/realm/realm-java/pull/7698) the API for `RecoverOrDiscardUnsyncedChangesStrategy` has ``` public fun onAfterRecovery(before: TypedRealm,...
Opening a realm after having specified `initialSubscriptions` in the sync config while offline causes the initialisation to hang. We should be able to open a flexible sync enabled realm with...
Before starting working on adding dictionaries we should: - Move all collection internal classes (e.g.`UnmanagedRealmSet`, `ManagedRealmList`, etc.) to separate files - Align to a reasonable extent the test framework of...
https://kotlinlang.org/docs/whatsnew1620.html#definitely-non-nullable-types This would allow us to capture nullability via the Kotlin type system out of the box with no magic typecasting. Especially useful for the `DynamicRealmObject.getNullableValueX` API.
Seen in https://github.com/realm/realm-kotlin/pull/913 build https://ci.realm.io/blue/organizations/jenkins/realm%2Frealm-kotlin/detail/PR-913/9/pipeline/#step-302-log-1641 ``` io.realm.kotlin.test.shared.SyncedRealmTests.waitForInitialData_timeOut FAILED kotlin.AssertionError: Expected an exception of io.realm.kotlin.mongodb.exceptions.DownloadingRealmTimeOutException to be thrown, but was kotlin.AssertionError: Realm should not open in time at kotlin.Error#(/Users/teamcity3/buildAgent/work/6326934d18cfe24e/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:14) at kotlin.AssertionError#(/Users/teamcity3/buildAgent/work/6326934d18cfe24e/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:130)...
Seen in a https://github.com/realm/realm-kotlin/pull/913, build https://ci.realm.io/blue/organizations/jenkins/realm%2Frealm-kotlin/detail/PR-913/8/pipeline/#step-370-log-1050 ``` io.realm.kotlin.test.mongodb.shared.nonlatin.NonLatinTests[jvm] > readNullCharacterFromMongoDB[jvm] FAILED org.junit.ComparisonFailure: expected: but was: at org.junit.Assert.assertEquals(Assert.java:115) at kotlin.test.junit.JUnitAsserter.assertEquals(JUnitSupport.kt:32) at kotlin.test.AssertionsKt__AssertionsKt.assertEquals(Assertions.kt:63) at kotlin.test.AssertionsKt.assertEquals(Unknown Source) at kotlin.test.AssertionsKt__AssertionsKt.assertEquals$default(Assertions.kt:62) at kotlin.test.AssertionsKt.assertEquals$default(Unknown Source) at...
Follow the pattern of managed/unmanaged used for lists by using delegates. An oversimplified API would look like this: ``` interface RealmSet : MutableSet internal class UnmanagedRealmSet: RealmSet, MutableSet by mutableSetOf()...