Foreverland / SYNCPropertyMapper

Map your Core Data properties with ease
37 stars 16 forks source link

hyp_dictionary endless loop in one to many relationship #128

Closed RolandasRazma closed 7 years ago

RolandasRazma commented 8 years ago

mo.hyp_dictionary(using: .array) loops endlessly if object have relationship. I guess it makes sense, but I think hyp_dictionary shouldn't go deeper than 1 level

Attaching backtrace

bt.txt

3lvis commented 8 years ago

In some cases this might be expected behavior.

Maybe you can relate to this issue.

https://github.com/SyncDB/NSManagedObject-HYPPropertyMapper/issues/112

Let me know if this is something else.

I could double check if you could provide an screenshot of your Core Data model and an example of your JSON file.

3lvis commented 7 years ago

Closing this for lack of more information. I really think this is related to #112 and can be solved by adding hyper.nonExportable.