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

Update error message to inform users how to delete realm after type or optionality has changed

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      When opening a realm after a breaking schema change an error is raised

      [Error: The following changes cannot be made in additive-only schema mode:- Property 'Dog._id' has been changed from 'object id' to 'string'.]

      Long term, we'd like to allow making breaking changes in developer mode. Currently users have to terminate sync and update the schema in the UI. https://www.mongodb.com/docs/atlas/app-services/sync/data-model/migrate-schema-partner-collection/

      Once the sync server team completes https://jira.mongodb.org/browse/BAAS-16909 it's possible to allow breaking changes from the client. But users need to delete their realm in order to open the realm and send the updated schema to the server. Letting users know how to delete the realm will make it much easier for them to iterate on their schema and make the changes they need.

            Assignee:
            daniel.tabacaru@mongodb.com Daniel Tabacaru
            Reporter:
            yaseen.kadir@mongodb.com Yaseen Kadir (Inactive)
            AD Sync Client
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: