mattkrick / cashay

:moneybag: Relay for the rest of us :moneybag:
MIT License
453 stars 28 forks source link

Handle EnumType as scalar instead of object for optimistic population #90

Closed mattkrick closed 8 years ago

mattkrick commented 8 years ago

currently, when we denormalize & there is no data, enum returns as an empty object. it should return as a scalar (or an object if all of its children are objects).