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

Expose `realm_list_is_valid` in the C-API

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • Q4-22FY
    • Affects Version/s: None
    • Component/s: None
    • None

      It would be an advantage to have a realm_list_is_valid function exposed in the C-API, similarly to realm_object_is_valid.

      A use case that justifies this addition is the handling of change listeners in the Kotlin SDK, e.g. when a list has been invalidated due to the owner object being deleted - right now we detect "access to invalidated list object" exceptions being thrown from Core when calling any of the list API methods to detect whether the list is valid.

            Assignee:
            Unassigned Unassigned
            Reporter:
            eduardo.lopezgutierrez@mongodb.com Eduardo López Gutiérrez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: