summaryrefslogtreecommitdiff
path: root/tests/Test/StarWars/QuerySpec.hs
AgeCommit message (Collapse)Author
2020-07-05Handle errors using custom typesEugen Wissner
Fixes #32.
2020-06-13Coerce resultEugen Wissner
Fixes #45.
2020-05-23Don't fail on invalid fragments and variablesEugen Wissner
2020-05-21Coerce variable valuesEugen Wissner
2020-02-01Replace MonadIO constraint with just MonadEugen Wissner
And make the tests use Identity instead of IO.
2019-12-30Replace substitution function with a mapEugen Wissner
It makes using variables with queries more approachable, but some work still has to be done. - The type `Subs` should be renamed and moved out of `Schema`, together with `AST.Core.Value` probably. - Some kind of conversion should be possible from a user-defined input type T to the Value. So the final HashMap should have a type like `HashMap name a`, where a is an instance of a potential typeclass InputType.
2019-07-10Replace tasty and HUnit with HspecEugen Wissner