summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2016-02-05Simplify JSON notation in testsDanny Navarro
2016-02-05Introduce `graphql` functionDanny Navarro
This simplifies Attoparsec parsing when executing a GraphQL query.
2016-01-30Generalize `Maybe` type constructor to any MonadDanny Navarro
This allows schema definitions with side-effects for any type with a Monadic/Alternative implementation like IO for example.
2016-01-26Fix for GHC-7.8.4Danny Navarro
2016-01-26GardenDanny Navarro
2016-01-26Rough implementation of `execute`Danny Navarro
The first end-to-end test taken from `graphql-js` passes but this still needs to be extended to support more general cases. - `Data.GraphQL.Schema` has been heavily modified to support the execution model. More drastic changes are expected in this module. - When defining a `Schema` ordinary functions taking fields as input are being used instead of maps. This makes the implementation of `execute` easier, and, arguably, makes `Schema` definitions more *Haskellish*. - Drop explicit `unordered-containers` dependency. `Aeson.Value`s and field functions should be good enough for now.
2015-10-19Implement first StarWars end-to-end testDanny Navarro
`execute` still needs to be implemented.
2015-10-17Test fixtures for Schema toplevelDanny Navarro
This includes simplications to the Schema data types.
2015-09-22Rename `Data.GraphQL.Printer` -> `Data.GraphQL.Encoder`Danny Navarro
2015-09-22Fixes for ghc-7.8Danny Navarro
2015-09-22Add kitchen sink parse/encode unit testDanny Navarro
This also includes the fixes to make it work. Golden tests have been removed.
2015-09-16Support ghc-7.8Danny Navarro
2015-09-16Use Cabal data-files to access golden tests dataDanny Navarro
Fixes #1.
2015-09-14Add golden test for kitchen-sink.graphqlDanny Navarro