summaryrefslogtreecommitdiff
path: root/graphql.cabal
diff options
context:
space:
mode:
authorDanny Navarro <j@dannynavarro.net>2016-01-26 12:43:18 +0100
committerDanny Navarro <j@dannynavarro.net>2016-01-26 12:43:18 +0100
commitbb685c9afa740091864220616ecd84d9329bee98 (patch)
treee01009704534a6ce278b6c81c7649c533e2bc87a /graphql.cabal
parent4e5dc3433a53c2e0404fd2adb9fb33c898d1afa6 (diff)
downloadgraphql-bb685c9afa740091864220616ecd84d9329bee98.tar.gz
Rough implementation of `execute`
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.
Diffstat (limited to 'graphql.cabal')
-rw-r--r--graphql.cabal21
1 files changed, 10 insertions, 11 deletions
diff --git a/graphql.cabal b/graphql.cabal
index e32b593..267f3eb 100644
--- a/graphql.cabal
+++ b/graphql.cabal
@@ -27,11 +27,10 @@ library
Data.GraphQL.Execute
Data.GraphQL.Schema
Data.GraphQL.Parser
- build-depends: base >=4.7 && < 5,
- text >=0.11.3.1,
- aeson >=0.7.0.3,
- attoparsec >=0.10.4.0,
- unordered-containers >=0.2.5.0
+ build-depends: base >= 4.7 && < 5,
+ text >= 0.11.3.1,
+ aeson >= 0.7.0.3,
+ attoparsec >= 0.10.4.0
test-suite tasty
default-language: Haskell2010
@@ -41,12 +40,12 @@ test-suite tasty
ghc-options: -Wall
other-modules: Paths_graphql
Test.StarWars
- build-depends: base >=4.6 && <5,
- aeson >=0.7.0.3,
- text >=0.11.3.1,
- attoparsec >=0.10.4.0,
- tasty >=0.10,
- tasty-hunit >=0.9,
+ build-depends: base >= 4.6 && <5,
+ aeson >= 0.7.0.3,
+ text >= 0.11.3.1,
+ attoparsec >= 0.10.4.0,
+ tasty >= 0.10,
+ tasty-hunit >= 0.9,
graphql
source-repository head