summaryrefslogtreecommitdiff
path: root/Data/GraphQL/Execute.hs
blob: 06dc9a6200d0dcd63d551e1954d042775ae59263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{-# LANGUAGE CPP #-}
module Data.GraphQL.Execute where

#if !MIN_VERSION_base(4,8,0)
import Control.Applicative (Applicative)
#endif

import qualified Data.Aeson as Aeson (Value)

import Data.GraphQL.AST
import Data.GraphQL.Schema

type Response = Aeson.Value

execute :: Applicative f => Schema f -> Document -> f Response
execute _schema _doc = undefined