-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backlinks getters throws for unmanaged objects #1293
Conversation
Pull Request Test Coverage Report for Build 5254345158
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not change the output of the generator for this in my opinion. This should be handled in the accessor.
How could we know in the accessor that this is a backlink? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right about not being able to do this in the accessor with the current design.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.NET throws an exception. Why are we diverging on this?
Co-authored-by: Kasper Overgård Nielsen <kasper.nielsen@mongodb.com>
We have an user request with a reasonable argument: #1106 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing the changes to RealmGenerator
Co-authored-by: blagoev <lubo@blagoev.com>
Co-authored-by: blagoev <lubo@blagoev.com>
Co-authored-by: blagoev <lubo@blagoev.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay
Using backlinks is only possible for managed(persisted) objects.
Fixes #1106
Fix test: "Realm.open (flexibleSync) - listen for download progress on an empty realm"