Groot icon indicating copy to clipboard operation
Groot copied to clipboard

JSONDictionaryTransformerName and entityMapperName not working as expected.

Open gregkerzhner opened this issue 9 years ago • 1 comments
trafficstars

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

gregkerzhner avatar Jun 27 '16 22:06 gregkerzhner

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

gonzalezreal avatar Jul 04 '16 07:07 gonzalezreal