diff options
| author | Danny Navarro <j@dannynavarro.net> | 2015-10-19 12:19:39 +0200 |
|---|---|---|
| committer | Danny Navarro <j@dannynavarro.net> | 2015-10-19 12:19:39 +0200 |
| commit | 4e5dc3433a53c2e0404fd2adb9fb33c898d1afa6 (patch) | |
| tree | bb58db83119bb0152a0df5ef76d4ebd6baa151c7 /Data/GraphQL/Execute.hs | |
| parent | 3f30a44d1d9464ec112246c7dae1a5519b39769e (diff) | |
| download | graphql-4e5dc3433a53c2e0404fd2adb9fb33c898d1afa6.tar.gz | |
Implement first StarWars end-to-end test
`execute` still needs to be implemented.
Diffstat (limited to 'Data/GraphQL/Execute.hs')
| -rw-r--r-- | Data/GraphQL/Execute.hs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Data/GraphQL/Execute.hs b/Data/GraphQL/Execute.hs index 9951144..06dc9a6 100644 --- a/Data/GraphQL/Execute.hs +++ b/Data/GraphQL/Execute.hs @@ -10,5 +10,7 @@ import qualified Data.Aeson as Aeson (Value) import Data.GraphQL.AST import Data.GraphQL.Schema -execute :: Applicative f => Schema -> Document -> f Aeson.Value -execute = undefined +type Response = Aeson.Value + +execute :: Applicative f => Schema f -> Document -> f Response +execute _schema _doc = undefined |
