summaryrefslogtreecommitdiff
path: root/tests/Test/StarWars/Data.hs
AgeCommit message (Collapse)Author
2019-07-14Make all exports explicitEugen Wissner
2019-07-08Constrain the resolvers with MonadIOEugen Wissner
This replaces the most usages of MonadPlus, which is not appropriate for the resolvers, since a resolver is unambiguously chosen by the name (no need for 'mplus'), and the resolvers are often doing IO.
2019-07-02Introduce monad transformer for resolversEugen Wissner
Now the errors in the resolvers can be handled and 3 tests throwing errors pass now. Another test fail but it requires distinguisching nullable and non-nullable values.
2017-03-01Implement type instrospection testsDanny Navarro
The main intention with this commit is to show a poor's man way to support type instrospection.
2016-12-18Add homePlanet to test schemaDanny Navarro
2016-07-08add tests for errors in queries for queries in starwars testsPweaver (Paul Weaver)
2016-02-18Overhaul Schema DSLDanny Navarro
Aside of making the definition of Schemas easier, it takes care of issues like nested aliases which previously wasn't possible. The naming of the DSL functions is still provisional.
2016-02-12Split StarWars tests in different modulesDanny Navarro