Uploaded image for project: 'Realm Dart SDK'
  1. Realm Dart SDK
  2. RDART-996

EJson export doesn't support backlinks

      Problem

      Backlinks in a Realm object cause a stack overflow error when exporting to EJson. This is somewhat expected, as following backlinks will certainly lead to circular references.

      Solution

      Ideally we would be able to annotate fields to specify how we want to export them. Maybe we some fields excluded, or other to be shallowly exported (id only).

      Alternatives

      Currently we can write a custom export function, but then we don't get to use the magic of auto-generated code.

      How important is this improvement for you?

      Would be a major improvement

      Feature would mainly be used with

      Local Database only

            Assignee:
            kasper.nielsen@mongodb.com Kasper Nielsen
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: