Uploaded image for project: 'Realm Cocoa SDK'
  1. Realm Cocoa SDK
  2. RCOCOA-392

Add checks for missing ivars for String? properties

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

      Currently if a user declares a String? property which is not @objc dynamic, we still add it to the schema and treat it as a managed property, but fail to generate a working accessor for managed objects with such a property. We should instead either implicitly ignore them and not add them to the schema (as is done for computed properties), or throw an error and ask the user to either mark it as @objc dynamic or explicitly ignore the property.

            Assignee:
            Unassigned Unassigned
            Reporter:
            thomas.goyne@mongodb.com Thomas Goyne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: