Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-361

Forbid optional Primary Keys

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • Q4-21FY
    • Affects Version/s: None
    • Component/s: ObjectStore
    • Labels:

      currently, core allows for nullable primary keys which is a divergence from how mobile developers normally think about primary keys. Generally, primary keys are assumed to be implicitly required, SQLite has this requirement, along with just about every other database ever. I am not sure what the reasoning was behind allowing this in Core but we should aim to align with mobile developers expectations 

      This artifact has created downstream effects in Sync

            Assignee:
            jonathan.reams@mongodb.com Jonathan Reams
            Reporter:
            ian.ward@mongodb.com Ian Ward
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: