rendering a dict response only returns a list of keys since #34
bennettrogers opened this issue · comments
Bennett Rogers commented
First of all, thanks for building this package. It's very convenient!
I recently updated to the latest release and noticed that rendering dict responses from DRF is broken. It looks like the iterator support added in #34 clobbers the original dict handling. The dict response is camelized correctly, but then the is_iterable(data)
conditional passes and immediately the dict is converted into a list of just the keys and that is what is returned.
I'm wondering if the intent was to make that an elif
conditional instead?
Bennett Rogers commented
Nevermind - I think I broke my local copy of the package trying to debug a separate issue. Please disregard.