Skip to content

Add derive-Generic input reader for record types to support input objects #65

@teh

Description

@teh

We have several constraints:

  1. Should be easy to use - this points to using a Haskell data type over e.g. a Map Text Value.
  2. Input must be validated against a definition: This allows both a type-class checking against Object name i f and a derive Generic record.
  3. Definition itself must be valid in the GraphQL sense. This can be derived both from an Object name i f and a derive Generic record.

Would be nice but not necessary:

I think 1 in particular points to a derive Generic style input. We could add that to FromValue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions