realm-kotlin
realm-kotlin copied to clipboard
Kotlin Multiplatform and Android SDK for the Realm Mobile Database: Build Better Apps Faster.
The current approach to sync tests is to share a common App and database on the server. It can present some issues as if a test case modifies the server...
Removes the command server from the testing setup by using Atlas functions.
Similar to the ideas expressed here: https://github.com/realm/realm-java/issues/5426 and as exposed by Cocoa here: https://github.com/realm/realm-swift/pull/7375 Projections would decouple the model classes (Database Entity) from how the data is being used in...
Similar to https://www.mongodb.com/docs/realm/sdk/java/advanced-guides/testing/ we should provide guidance for testing Realm Kotlin in combination with common test frameworks, especially Roboletric. Since Realm Kotlin has support for running directly on the JVM,...
We are not using null values in the `nullableTimestampDescriptor` within the `QueryTests`. We should use `NULLABLE_TIMESTAMP_VALUES` instead of `TIMESTAMP_VALUES` https://github.com/realm/realm-kotlin/blob/f001accd6ffa68fb9f91801a67c718cc0eed061a/test/base/src/androidTest/kotlin/io/realm/kotlin/test/shared/QueryTests.kt#L2423
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.
Implement relevant progress listener API's similar to Realm Java ```java enum class ProgressMode { CURRENT_CHANGES, INDEFINETELY } data class Progress(val transferredBytes: Long, val transferableBytes: Long) { val fractionTransferred: Double val...
Cause: https://github.com/realm/realm-kotlin/blob/0198f3a408c1f34fe27fc1d82b75df80e6e7de49/packages/gradle-plugin/src/main/kotlin/io/realm/kotlin/gradle/RealmPlugin.kt#L92 Because of this, Realm is incompatible with other Kotlin libraries which have been built targetting a newer JVM version - since it is impossible to inline functions from...
Would be nice to have something like https://github.com/cmelchior/realmfieldnameshelper, compatible with realm-kotlin, so we know at compile time something is not ok in queries with RQL.