haskell-graphql / graphql-api

Write type-safe GraphQL services in Haskell
BSD 3-Clause "New" or "Revised" License
406 stars 35 forks source link

Make Name an overloaded string #112

Closed jml closed 7 years ago

jml commented 7 years ago

Means that we can just say "dog" when we want a Name, and then the code will panic if we specify an invalid name (e.g. "9dog").