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

RLM_ARRAY_TYPE has been deprecated. Use RLM_COLLECTION_TYPE instead.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None

      How frequently does the bug occur?

      All the time

      Description

      Hello,
      i would like to ask related to deprecated RLM_ARRAY_TYPE, when i upgrade realm version from 3.20 to 10.28.2 i see the warning that said: RLM_ARRAY_TYPE has been deprecated. Use RLM_COLLECTION_TYPE instead. in my RLMObject

      @property RLMArray<DisplayID> *displayIds;
      

      Since the documentation https://www.mongodb.com/docs/realm/sdk/swift/model-data/define-model/relationships/#define-a-to-many-relationship-property did not mention RLMArray is the deprecated, what is the alternative to replace RLMArray?

      Stacktrace & log output

      No response

      Can you reproduce the bug?

      Yes, always

      Reproduction Steps

      Build source code that use RLMArray

      Version

      10.28.2

      What SDK flavour are you using?

      Local Database only

      Are you using encryption?

      No, not using encryption

      Platform OS and version(s)

      13.0

      Build environment

      Xcode version: xcode 13.4.1
      Dependency manager and version: Cocoapod v1.11.2

            Assignee:
            dachary.carey@mongodb.com Dachary Carey
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: