-
0.6.0.0 Stable
released this
2019-11-27 08:26:51 +01:00 | 252 commits to master since this releaseChanged
Language.GraphQL.Encoder
moved toLanguage.GraphQL.AST.Encoder
.Language.GraphQL.Parser
moved toLanguage.GraphQL.AST.Parser
.Language.GraphQL.Lexer
moved toLanguage.GraphQL.AST.Lexer
.- All
Language.GraphQL.AST.Value
data constructor prefixes were removed. The
module should be imported qualified. - All
Language.GraphQL.AST.Core.Value
data constructor prefixes were removed.
The module should be imported qualified. Language.GraphQL.AST.Core.Object
is now just a HashMap.Language.GraphQL.AST.Transform
is isn't exposed publically anymore.Language.GraphQL.Schema.resolve
accepts a selectionSeq
(Data.Sequence
)
instead of a list. Selections are stored as sequences internally as well.- Add a reader instance to the resolver's monad stack. The Reader contains
a Name/Value hashmap, which will contain resolver arguments.
Added
- Nested fragment support.
Fixed
- Consume ignored tokens after
$
and!
. I mistakenly assumed that
$variable
is a single token, same asType!
is a single token. This is not
the case, for exampleVariable
is defined as$ Name
, so these are two
tokens, therefore whitespaces and commas after$
and!
should be
consumed.
Improved
Language.GraphQL.AST.Parser.type_
: Try type parsers in a variable
definition in a different order to avoid usingbut
.
Removed
Language.GraphQL.AST.Arguments
. Use[Language.GraphQL.AST.Argument]
instead.Language.GraphQL.AST.Directives
. Use[Language.GraphQL.AST.Directives]
instead.Language.GraphQL.AST.VariableDefinitions
. Use
[Language.GraphQL.AST.VariableDefinition]
instead.Language.GraphQL.AST.FragmentName
. UseLanguage.GraphQL.AST.Name
instead.Language.GraphQL.Execute.Schema
- It was a resolver list, not a schema.Language.GraphQL.Schema
:enum
,enumA
,wrappedEnum
andwrappedEnumA
.
Usescalar
,scalarA
,wrappedScalar
andwrappedScalarA
instead.
Downloads