summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-11-23Add a reader instance to the resolversEugen Wissner
The Reader contains a Name/Value hashmap, which will contain resolver arguments.
2019-11-22Try type parsers in a different orderEugen Wissner
2019-11-21Fix failed parsing on multiple required argumentsSam Nolan
Fixes #25.
2019-11-16Rewrite selections into a Sequence. Fix #21Eugen Wissner
2019-11-14Fail on cyclic fragments, fix #22Eugen Wissner
2019-11-12Support nested fragments in any orderEugen Wissner
Fix #19.
2019-11-09Support nested fragmentsEugen Wissner
... without forward lookup.
2019-11-07AST.Transform: Pass down a readerEugen Wissner
The reader contains variable substitution functions and fragments.
2019-11-03Move related modules to Language.GraphQL.ASTEugen Wissner
Fixes #18. - `Language.GraphQL.Encoder` moved to `Language.GraphQL.AST.Encoder`. - `Language.GraphQL.Parser` moved to `Language.GraphQL.AST.Parser`. - `Language.GraphQL.Lexer` moved to `Language.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.Transform` is now isn't exposed publically anymore.
2019-11-02Propagate Maybe in the transform treeEugen Wissner
Since the transform tree can already find some errors, it may fail here and there. Almost all functions return a Maybe to signalize an error. Will be replaced with an Either of course.
2019-10-31Save fragments in a hash mapEugen Wissner
Fixes #20.
2019-10-25Remove deprecated functions and aliasesEugen Wissner
2019-10-19Handle top-level fragmentsEugen Wissner
Fixes #17.
2019-10-11Inline fragments without typeEugen Wissner
Fixes #11.
2019-10-08Support inline fragments on typesEugen Wissner
2019-10-01Deprecate plural type aliasesEugen Wissner
Fixes #16. Deprecates: - Language.GraphQL.AST.Arguments - Language.GraphQL.AST.Directives - Language.GraphQL.AST.VariableDefinitions
2019-09-25Document undocumented modulesEugen Wissner
Fixes #15.
2019-09-20Fix haddoc warningsEugen Wissner
Fix #14.
2019-09-06Fix #12Eugen Wissner
2019-09-01Deprecate enum, enumA, wrappedEnum, wrappedEnumAEugen Wissner
These functions are from Language.GraphQL.Schema. There are actually only two generic types in GraphQL: Scalars and objects. Enum is a scalar value. According to the specification enums may be serailized to strings. And in the current implementation they used untyped strings anyway, so there is no point to have differently named functions with the same implementation as their scalar counterparts.
2019-08-30Deprecate Language.GraphQL.Execute.SchemaEugen Wissner
It is not a schema (at least not a complete one), but a resolver list, and the resolvers should be provided by the user separately, because the schema can originate from a GraphQL document. Schema name should be free to provide a data type for the real schema later.
2019-08-29Document all public symbols.Eugen Wissner
Mostly basic documentation. Fixes #4.
2019-08-26Provide more documentation on functions and typesEugen Wissner
2019-08-14Release 0.5.0.0v0.5.0.0Eugen Wissner
2019-08-13Escape special characters in the encoded stringsEugen Wissner
Fixes #2.
2019-08-05Make all encoder functions return lazy textEugen Wissner
2019-08-03Implement indentation in the encoderEugen Wissner
2019-08-02Put spaces between tokens in the pretty printerEugen Wissner
2019-07-31Introduce formatter type for the encoderEugen Wissner
... to distinguish between minified and pretty printing.
2019-07-27Test the encoder with the unminified documentEugen Wissner
2019-07-25Implement multiple operation supportEugen Wissner
2019-07-23Add singleError utility functionv0.4.0.0Eugen Wissner
2019-07-22Parse the BOM header if anyEugen Wissner
2019-07-19Report parse errors with line and column numbersEugen Wissner
2019-07-18Reuse common types from AST.CoreEugen Wissner
2019-07-14Make all exports explicitEugen Wissner
2019-07-08Constrain the resolvers with MonadIOEugen Wissner
This replaces the most usages of MonadPlus, which is not appropriate for the resolvers, since a resolver is unambiguously chosen by the name (no need for 'mplus'), and the resolvers are often doing IO.
2019-07-07Change the main namespace to Language.GraphQLEugen Wissner
2019-07-05Allow resolvers to return arbitrary nested listsEugen Wissner
2019-07-04Update CI settingsEugen Wissner
2019-07-03Add nullable typesEugen Wissner
2019-07-02Introduce monad transformer for resolversEugen Wissner
Now the errors in the resolvers can be handled and 3 tests throwing errors pass now. Another test fail but it requires distinguisching nullable and non-nullable values.
2019-07-01Pass root field names together with resolversEugen Wissner
2019-06-30Move the source code into src/Eugen Wissner