-
Notifications
You must be signed in to change notification settings - Fork 5
Improve communication of serialised Realm objects between device and plugin #123
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
Conversation
3f036e3 to
fdd81eb
Compare
2d249d7 to
fe0e949
Compare
cae0d65 to
536e421
Compare
536e421 to
03d88d3
Compare
takameyer
left a 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.
Really happy about all the work you've put into this. Looks like the flipper plugin is now useable!
My only suggestion is to consider breaking up "common" and "shared" and getting some of those types closer to the component using them. But this could be done later, just wanted to provide something to think about.
LGTM 🚢
| if(isEmbedded) { | ||
| content = ``; | ||
| } | ||
| // TODO: Fetch object with getObject to display primary key instead of objectKey |
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.
Did you want to address this in a separate PR, or is this doable now?
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 was thinking of separate PR. although I just thought of a way to make this simpler, i.e. just send over primaryKey if it exists along with objectType / objectKey for references, so I might just do this. I generally avoid leaving TODOs like this but because of the state of the code right now this seemed like the quickest way to leave some bits for future planning.
…ik/betterserialization
This PR...
flatted.toJSONand the circular reference-saferealmObject.toJSON()fromv11to send objects (closes Circular references #96)TODO: