-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Local
-
None
-
2 - S (<= 1 week)
-
3
-
586
-
Kotlin Beta sprint 30, Kotlin Beta sprint 31, Kotlin Beta sprint 32, Kotlin Beta sprint 33, Kotlin Beta sprint 34
Similar to Date support (), UUID support is tricky in KMP as no default implementation exists. There is https://github.com/benasher44/uuid which is unofficial.
So for the same reason as Date, we probably need to create our own wrapper type around the Core datastructure `RealmUUID`, but keep it as simple as possible and otherwise use type adapters and extension functions to interop with platform or user specific types.
Unable to find source-code formatter for language: kotlin. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
class RealmUUID {
companion object {
fun random(): RealmUUID
}
}
- related to
-
RKOTLIN-380 Datatype support: ByteArray
- Closed