summaryrefslogtreecommitdiff
path: root/stack.yaml
AgeCommit message (Collapse)Author
2020-07-24Release 0.9.0.0v0.9.0.0Eugen Wissner
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-29Combine Resolver and ActionT in ResolverTEugen Wissner
2020-06-24Add a github actions workflowEugene Wissner
2020-06-19Fix list input coercionEugen Wissner
2020-06-10Skip unknown fieldsEugen Wissner
2020-06-09Add custom Eq instances to the typesEugen Wissner
2020-06-03Resolve abstract typesEugen Wissner
Objects that can be a part of an union or interface should return __typename as string.
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-21Coerce variable valuesEugen Wissner
2020-05-11Release 0.7.0.0v0.7.0.0Eugen Wissner
2020-05-10Separate Query and Mutation resolversEugen Wissner
Fixes #33 .
2020-04-12Write contrinbuting guidelinesEugen Wissner
2020-02-20Update to Stack 15.xEugen Wissner
2020-02-14Document schema ASTEugen Wissner
Fixes #8.
2020-01-28Try all extension parsersEugen Wissner
2020-01-21Update copyrightEugen Wissner
2020-01-12Replace Parser.manyNE with NonEmpty.someEugen Wissner
2019-12-30Replace substitution function with a mapEugen Wissner
It makes using variables with queries more approachable, but some work still has to be done. - The type `Subs` should be renamed and moved out of `Schema`, together with `AST.Core.Value` probably. - Some kind of conversion should be possible from a user-defined input type T to the Value. So the final HashMap should have a type like `HashMap name a`, where a is an instance of a potential typeclass InputType.
2019-12-23Release 0.6.1.0v0.6.1.0Eugen Wissner
2019-12-18Move Execute.Directive to Type.DirectiveEugen Wissner
Just to roughly follow the structure of the reference implementation.
2019-11-27Release 0.6.0.0v0.6.0.0Eugen Wissner
2019-11-22Try type parsers in a different orderEugen Wissner
2019-11-12Support nested fragments in any orderEugen Wissner
Fix #19.
2019-11-07AST.Transform: Pass down a readerEugen Wissner
The reader contains variable substitution functions and fragments.
2019-10-31Save fragments in a hash mapEugen Wissner
Fixes #20.
2019-10-22Release 0.5.1.0v0.5.1.0Eugen Wissner
2019-10-19Handle top-level fragmentsEugen Wissner
Fixes #17.
2019-10-11Inline fragments without typeEugen Wissner
Fixes #11.
2019-09-30Set STACK_ROOT to cache dependencies in the CIEugen Wissner
Set STACK_ROOT to cache dependencies between the builds.
2019-09-29Ignore graphql.cabalEugen Wissner
This file is generated and for releases another version is generated anyway.
2019-09-25Document undocumented modulesEugen Wissner
Fixes #15.
2019-09-20Fix haddoc warningsEugen Wissner
Fix #14.
2019-09-10Release 0.5.0.1v0.5.0.1Eugen 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-29Document all public symbols.Eugen Wissner
Mostly basic documentation. Fixes #4.
2019-08-26Provide more documentation on functions and typesEugen Wissner
2019-08-12Update stack snapshot to 14.0Eugen Wissner
2019-07-31Introduce formatter type for the encoderEugen Wissner
... to distinguish between minified and pretty printing.
2019-07-20Make the tutorial to compile againEugen Wissner
- Remove generated documentation leaving only documentation sources. - Add CI job checking that the tutorial is up to date.
2019-07-14Make all exports explicitEugen Wissner
2019-07-03Add nullable typesEugen Wissner
2019-06-21Parse queries with megaparsecEugen Wissner
2019-06-11Add package.yaml, update stack snapshot to 13.25Eugen Wissner
2016-02-17GardenDanny Navarro
2016-02-08Drop support for older stackage versionsDanny Navarro
2016-01-26Pin stack to LTS-4.2Danny Navarro
2015-09-16Support ghc-7.8Danny Navarro
2015-09-12Initial commitDanny Navarro
This includes a rough port of the data types at https://github.com/graphql/graphql-js/blob/master/src/language/ast.js