summaryrefslogtreecommitdiff
path: root/package.yaml
AgeCommit message (Collapse)Author
2021-02-07Release 0.11.1.0v0.11.1.0Eugen Wissner
2020-11-07Release 0.11.0.0v0.11.0.0Eugen Wissner
2020-11-05Remove StarWars testsEugen Wissner
Our own test suite is slowly getting sufficient.
2020-11-02Write documentation out of the source treeEugen Wissner
In a Wiki.
2020-10-30Reflect infrastructure and license changesEugen Wissner
2020-08-29Release 0.10.0.0v0.10.0.0Eugen Wissner
2020-08-22Remove encoder test based on old external filesEugen Wissner
2020-07-24Release 0.9.0.0Eugen Wissner
2020-07-20Draft the Validation APIEugen Wissner
2020-07-19Return a stream as well from graphql* functionsEugen Wissner
2020-07-17Constrain base monad to MonadCatchEugen Wissner
Let's try MonadThrow/MonadCatch. It looks nice at a first glance. The monad transformer stack contains only the ReaderT, less lifts are required. Exception subtyping is easier, the user can (and should) define custom error types and throw them. And it is still possible to use pure error handling, if someone doesn't like runtime exceptions or need to run a query in a pure environment. Fixes #42.
2020-07-14Support subscriptionsEugen Wissner
This is experimental support. The implementation is based on conduit and is boring. There is a new resolver data constructor that should create a source event stream. The executor receives the events, pipes them through the normal execution and puts them into the response stream which is returned to the user. - Tests are missing. - The executor should check field value resolver on subscription types. - The graphql function should probably return (Either ResponseEventStream Response), but I'm not sure about this. It will make the usage more complicated if no subscriptions are involved, but with the current API implementing subscriptions is more difficult than it should be.
2020-07-06Export sum type for all GraphQL typesEugen Wissner
2020-06-20Release 0.8.0.0v0.8.0.0Eugen Wissner
2020-06-19Fix list input coercionEugen Wissner
2020-05-29Define resolvers on type fieldsEugen Wissner
Returning resolvers from other resolvers isn't supported anymore. Since we have a type system now, we define the resolvers in the object type fields and pass an object with the previous result to them.
2020-05-23Don't fail on invalid fragments and variablesEugen Wissner
2020-05-21Coerce variable valuesEugen Wissner
2020-05-11Release 0.7.0.0v0.7.0.0Eugen Wissner
2020-04-10Don't encode controls as block stringsDmitrii Skurikhin
Fixes #39. String containing control sequences should be encoded as simple strings even if they contain newlines, since the block strings can contain only SourceCharacters.
2020-01-21Update copyrightEugen Wissner
2020-01-12Replace Parser.manyNE with NonEmpty.someEugen Wissner
2019-12-23Release 0.6.1.0v0.6.1.0Eugen Wissner
2019-12-21Pretify multi-line string arguments as block stringsEugen Wissner
Fixes #10.
2019-12-18Move Execute.Directive to Type.DirectiveEugen Wissner
Just to roughly follow the structure of the reference implementation.
2019-12-07Move Transform to Language.GraphQL.ExecuteEugen Wissner
Language.GraphQL.AST.Transform is an internal module. Even though it works with the AST, it is a part of the execution process, it translates the original parser tree into a simpler one, so the executor has less work to do. Language.GraphQL.AST should contain only the parser and be independent from other packages, so it can be used on its own.
2019-12-06Support directives (skip and include)Eugen Wissner
Fixes #24.
2019-11-27Release 0.6.0.0v0.6.0.0Eugen Wissner
2019-11-16Rewrite selections into a Sequence. Fix #21Eugen Wissner
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-10-22Release 0.5.1.0v0.5.1.0Eugen Wissner
2019-10-19Handle top-level fragmentsEugen Wissner
Fixes #17.
2019-09-27Introduce hspec-megaparsecEugen Wissner
Fixes #13.
2019-09-10Release 0.5.0.1v0.5.0.1Eugen Wissner
2019-08-14Release 0.5.0.0v0.5.0.0Eugen Wissner
2019-07-23Add singleError utility functionv0.4.0.0Eugen Wissner
2019-07-17Remove TODOEugen Wissner
Issues should be created instead.
2019-07-10Replace tasty and HUnit with HspecEugen Wissner
2019-07-07Change the main namespace to Language.GraphQLEugen Wissner
2019-07-06Add licence badgeEugen Wissner
2019-06-30Move the source code into src/Eugen Wissner
2019-06-28Replace Alternative with MonadPlusEugen Wissner
2019-06-21Parse queries with megaparsecEugen Wissner
2019-06-11Add package.yaml, update stack snapshot to 13.25Eugen Wissner