You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 20, 2021. It is now read-only.
As you can see some data is not directly inside fields but is in profile. How this response should be mapped? Should I create a separate profile table? Or should mapping logic be changed? meteor-ios lib is great but quite complex so if anyone could help me or show the right direction it will be great.
Thank you
The text was updated successfully, but these errors were encountered:
The best way to support embedded value objects like this is through a 'transformable' mapping to a dictionary in Core Data. The Todos example has a mapping for 'profile' set up as part of User.
Is it possible to add support for mapping embedded data?
I have a situation currently where I'd like to use a predicate to filter on some embedded data (it's probably bad design but I can't change it at this point).
Being able to map an embedded property using fieldNamepofile.accountType in the User Info section of the data model.
@LinkXXI
You can still filter on embedded data. Just create a derived variable for whatever you want to access. Since this library doesn't use SQLite as a backing store, you can run a query against anything
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello
Could someone please tell me how should be CoreData model designed to work correctly with the following Meteor responses:
As you can see some data is not directly inside fields but is in profile. How this response should be mapped? Should I create a separate
profile
table? Or should mapping logic be changed? meteor-ios lib is great but quite complex so if anyone could help me or show the right direction it will be great.Thank you
The text was updated successfully, but these errors were encountered: