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
Groot does not currently support mapping one relationship into multiple relationships. You should map your sentMessages array to a single relationship and then filter by type when fetching your managed objects.
Is it reasonable to use the JSONDictionaryTransformerName to transform the JSON data to two separate relations (sentMessages would become textMessages and pictureMessages), as in the model?
Is there an annotation to cover the following case:
The JSON structure is the following:
The logic for the messages is taken from your example for
entityMapperName
, but I am not sure how to map the relationship between the objects.How should I annotate the relations
textMessages
andpictureMessages
together with theentityMapperName
logic for the abstract base entityMessage
?The text was updated successfully, but these errors were encountered: