Uploaded image for project: 'Realm Kotlin'
  1. Realm Kotlin
  2. RKOTLIN-382

Datatype support: UUID

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Local
    • None

      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
        }
      }
      

            Assignee:
            clemente.tort@mongodb.com Clemente Tort Barbero
            Reporter:
            christian.melchior@mongodb.com Christian Melchior (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: