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

Prevent updates of primary key fields

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      It should not be possible to update a primary key field. Probably by enforcing it to be a val, but also throwing errors for dynamic APIs.

      Right now it is even possible to update with a value that is overlapping.

      Underlying core issue of not raising errors is tracked by https://github.com/realm/realm-core/issues/4808

            Assignee:
            claus.rorbech@mongodb.com Claus Rørbech (Inactive)
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: