brandonchinn178 / aeson-schemas

Easily consume JSON data on-demand with type-safety
http://hackage.haskell.org/package/aeson-schemas
BSD 3-Clause "New" or "Revised" License
52 stars 1 forks source link

Remove `IsSchemaObject` #4

Closed brandon-leapyear closed 4 years ago

brandon-leapyear commented 5 years ago

Related to #3

It would be nice to remove the IsSchemaObject constraint, especially in the Show (Object schema) instance, since schema :: SchemaType and we know IsSchemaType is defined for all SchemaTypes and we know Object contains a SchemaObject schema.