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

RQL sent to server for links should use encoding that the server can understand

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Currently, if you set a subscription on a link in flexible sync, the following query will look like the following:

      ```
      NET Code:
      var newQuery = realm.All<AllPrimitiveTypes>().Where(o => o.LinkingObjectField == linkingObject);

      RQL sent to server
      (LinkingObjectField == O0)
      ```

      This is the internal realm object key and is not something that the server knows anything about. Ideally this would contain the _id field of the linking object (primary key) and perhaps the table name being linked to as well. Any idea if this is a big lift or is this something that can be easy to change for how this is sent to the server?

      cc jonathan.reams@mongodb.com jorgen.edelbo@mongodb.com

            Assignee:
            jorgen.edelbo@mongodb.com Jørgen Edelbo
            Reporter:
            tyler.kaye@mongodb.com Tyler Kaye
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: