Closed toddmohney closed 8 years ago
See if we can use ExistentialQuantification or GADTs to reduce the functional constraint noise.
Ex.
data Meta = forall a . (ToJSON a, FromJSON a) => Meta a
or
data Meta = (ToJSON a, FromJSON a) => a -> Meta a
Specification: http://jsonapi.org/format/#document-resource-objects