IHP Api Reference
Safe HaskellSafe-Inferred

IHP.GraphQL.Types

Synopsis

Documentation

data GraphQLRequest Source #

Constructors

GraphQLRequest 

Instances

Instances details
FromJSON GraphQLRequest Source # 
Instance details

Defined in IHP.GraphQL.JSON

newtype Document Source #

Constructors

Document 

Fields

Instances

Instances details
FromJSON Document Source # 
Instance details

Defined in IHP.GraphQL.JSON

Methods

parseJSON :: Value -> Parser Document #

parseJSONList :: Value -> Parser [Document] #

Show Document Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

showsPrec :: Int -> Document -> ShowS #

show :: Document -> String

showList :: [Document] -> ShowS #

Eq Document Source # 
Instance details

Defined in IHP.GraphQL.Types

data FieldDefinition Source #

Instances

Instances details
Show FieldDefinition Source # 
Instance details

Defined in IHP.GraphQL.Types

Eq FieldDefinition Source # 
Instance details

Defined in IHP.GraphQL.Types

data Selection Source #

Constructors

Field 
FragmentSpread 

Fields

Instances

Instances details
Show Selection Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

showsPrec :: Int -> Selection -> ShowS #

show :: Selection -> String

showList :: [Selection] -> ShowS #

Eq Selection Source # 
Instance details

Defined in IHP.GraphQL.Types

data Fragment Source #

Constructors

Fragment 

Fields

Instances

Instances details
Show Fragment Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

showsPrec :: Int -> Fragment -> ShowS #

show :: Fragment -> String

showList :: [Fragment] -> ShowS #

Eq Fragment Source # 
Instance details

Defined in IHP.GraphQL.Types

data OperationType Source #

Constructors

Query 
Mutation 
Subscription 

Instances

Instances details
Show OperationType Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

showsPrec :: Int -> OperationType -> ShowS #

show :: OperationType -> String

showList :: [OperationType] -> ShowS #

Eq OperationType Source # 
Instance details

Defined in IHP.GraphQL.Types

data Argument Source #

Constructors

Argument 

Instances

Instances details
Show Argument Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

showsPrec :: Int -> Argument -> ShowS #

show :: Argument -> String

showList :: [Argument] -> ShowS #

Eq Argument Source # 
Instance details

Defined in IHP.GraphQL.Types

data Value Source #

Instances

Instances details
Show Value Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

showsPrec :: Int -> Value -> ShowS #

show :: Value -> String

showList :: [Value] -> ShowS #

Eq Value Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

(==) :: Value -> Value -> Bool #

(/=) :: Value -> Value -> Bool #

newtype Variables Source #

Constructors

Variables [Argument] 

Instances

Instances details
FromJSON Variables Source # 
Instance details

Defined in IHP.GraphQL.JSON

Methods

parseJSON :: Value -> Parser Variables #

parseJSONList :: Value -> Parser [Variables] #

Show Variables Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

showsPrec :: Int -> Variables -> ShowS #

show :: Variables -> String

showList :: [Variables] -> ShowS #

Eq Variables Source # 
Instance details

Defined in IHP.GraphQL.Types

data Type Source #

Instances

Instances details
Show Type Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String

showList :: [Type] -> ShowS #

Eq Type Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

(==) :: Type -> Type -> Bool #

(/=) :: Type -> Type -> Bool #