haskell-graphql / graphql-api

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

Example with variables #132

Open eugenk opened 6 years ago

eugenk commented 6 years ago

The tests use a variable map, but the variable is not passed as a parameter to a handler. Instead, the handler already has the variable hard coded. How can a variable from the variable map be passed as a value to the handler?