3box / 3box-graphql

3box GraphQL Service
9 stars 0 forks source link

Better handling of data defined in schema but not formed exactly #11

Open zachferland opened 5 years ago

zachferland commented 5 years ago

The reducers need to be more robust to make best efforts at fitting data in a schema and/or fail gracefully or in a clear expected way. For example say we expect a key to be nested obj, but its just a string. We had a schema which was defining sub key/vals but maybe we should stay top level, and any val is always a string (then parsed client side if expected certain form).