gonzalezreal / Groot

From JSON to Core Data and back.
Other
534 stars 61 forks source link

JSONDictionaryTransformerName and entityMapperName not working as expected. #66

Open gregkerzhner opened 8 years ago

gregkerzhner commented 8 years ago

Hello.

Thank you for the great library!

I am not sure if something is wrong with my setup, but if I add a entityMapperName to two entities (for example PictureMessage and TextMessage, which both inherit from Message), and also have JSONDictionaryTransformerName for both PictureMessage and TextMessage, those JSONDictionaryTransformerName will not be called. Only a JSONDictionaryTransformerName on the abstract Message class works.

Personally this caused me a few hours of headache to get to work so I am submitting a pull request that documents this behavior: https://github.com/gonzalezreal/Groot/pull/65

gonzalezreal commented 8 years ago

Hi, Thanks for reporting. This looks like a bug. I will investigate.