Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13827

[Realm] Sample code in documentation lacks a property

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Realm
    • Labels:
      None

      Description

      Reader can get confused following the steps in the documentation

      In the documentation for the Realm Tutorial some code is reported to create the collections later used in the project.

      Around half of the page, in the "Define a Schema for User Documents" section, the structure reported has the

      "_partition": {
          "bsonType": "string"
      },
      

      part missing.

      This is not critical, as later in the tutorial (for example, here for iOS ) the field is automatically created anyway when Sync is enabled, but it could be confusing for a reader why it wasn't there earlier.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            paolo.manna@mongodb.com Paolo Manna
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              3 years, 12 weeks, 6 days ago