summaryrefslogtreecommitdiff
path: root/tests/Test/StarWars
AgeCommit message (Collapse)Author
2019-07-03Add nullable typesEugen Wissner
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.
2019-06-28Replace Alternative with MonadPlusEugen Wissner
2019-06-27Restore error handlingEugen Wissner
2017-03-03When argument is not found return nullDanny Navarro
The relevant test was restored too.
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.
2017-02-23Add basic Fragment SupportDanny Navarro
Only field names are supported for now.
2017-01-30Define Schema using Core ASTDanny Navarro
Also, temporarily remove error reporting to simplify execution. This should be restored once the new execution model is nailed.
2017-01-28Split AST in 2Danny Navarro
One AST is meant to be a target parser and tries to adhere as much as possible to the spec. The other is a simplified version of that AST meant for execution. Also newtypes have been replaced by type synonyms and NonEmpty lists are being used where it makes sense.
2016-12-18Add homePlanet to test schemaDanny Navarro
2016-07-08add tests for errors in queries for queries in starwars testsPweaver (Paul Weaver)
2016-07-08adds __typename tests to starwars testfilePweaver (Paul Weaver)
2016-07-08adds the starwars tests for fragmentsPweaver (Paul Weaver)
Also refactors some deplicate objects into a where clause
2016-03-14Added exception handling with Alternative constraint according to spec.Matthías Páll Gissurarson
2016-02-22Remove `StringValue` typeDanny Navarro
2016-02-19Simplify Schema definition APIDanny Navarro
Now there is one `Resolver` type and the `Output` and `Scalar` types have been removed. This should be closer to the final Schema definition API.
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-17Initial support for aliases in `execute`Danny Navarro
2016-02-17Add remaining tests with variables in argumentsDanny Navarro
The test with invalid ID is commented out until proper exception handling is implemented.
2016-02-15Initial support for variable substitutionDanny Navarro
The correspondent end-to-end test has been ported. The variable definition still needs to be checked.
2016-02-15Clean up StarWars test queriesDanny Navarro
2016-02-12Split StarWars tests in different modulesDanny Navarro