Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Language.GraphQL.AST.Core
Description
This is the AST meant to be executed.
Documentation
Alternative field name.
{ smallPic: profilePic(size: 64) bigPic: profilePic(size: 1024) }
Here "smallPic" and "bigPic" are aliases for the same field, "profilePic", used to distinquish between profile pictures with different arguments (sizes).
Single GraphQL field.
Represents fragments and inline fragments.
Constructors
Fragment TypeCondition (Seq Selection) |
GraphQL has 3 operation types: queries, mutations and subscribtions.
Currently only queries and mutations are supported.
Single selection element.
Constructors
SelectionFragment Fragment | |
SelectionField Field |
type TypeCondition = Name Source #
Type condition.
Represents accordingly typed GraphQL values.
Constructors
Int Int32 | |
Float Double | GraphQL Float is double precision |
String Text | |
Boolean Bool | |
Null | |
Enum Name | |
List [Value] | |
Object (HashMap Name Value) |