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
Add string-based access API for RealmObject #524
Conversation
@@ -267,6 +269,8 @@ mixin RealmObject on RealmEntity { | |||
final controller = RealmObjectNotificationsController<T>(object); | |||
return controller.createStream(); | |||
} | |||
|
|||
late final DynamicRealmObject dynamic = DynamicRealmObject._(this); |
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.
I'm not a super huge fan of hiding this API under a dynamic
property like we did in .NET :/
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.
The API is kind of large and niche, so I'd rather not pollute the main interface but happy to discuss alternatives.
Superseded by #853. |
Adds a string-based API to read properties of a RealmObject. Right now we only support reading as that's required to get migrations working, but it can be extended in the future to also support setting.
The API is the following:
Part of #70.