| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-07-05 | Handle errors using custom types | Eugen Wissner | |
| Fixes #32. | |||
| 2020-07-02 | Merge Trans and Type.Out modules | Eugen Wissner | |
| 2020-06-29 | Combine Resolver and ActionT in ResolverT | Eugen Wissner | |
| 2020-06-19 | Fix list input coercion | Eugen Wissner | |
| 2020-06-13 | Coerce result | Eugen Wissner | |
| Fixes #45. | |||
| 2020-06-07 | Add description to the enum type values | Eugen Wissner | |
| 2020-06-06 | Coerce argument values properly | Eugen Wissner | |
| Fixes #44. | |||
| 2020-06-03 | Resolve abstract types | Eugen Wissner | |
| Objects that can be a part of an union or interface should return __typename as string. | |||
| 2020-05-29 | Define resolvers on type fields | Eugen 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-26 | Add Union and Interface type definitions | Eugen Wissner | |
| 2020-05-25 | Split input/output types and values into 2 modules | Eugen Wissner | |
| 2020-05-24 | Check point | Eugen Wissner | |
| 2020-05-23 | Don't fail on invalid fragments and variables | Eugen Wissner | |
| 2020-05-21 | Coerce variable values | Eugen Wissner | |
| 2020-05-14 | Add basic output object type support | Eugen Wissner | |
| 2020-05-13 | Accept resolvers given by the user as is | Eugen Wissner | |
| 2020-05-10 | Separate Query and Mutation resolvers | Eugen Wissner | |
| Fixes #33 . | |||
| 2020-02-20 | Update to Stack 15.x | Eugen Wissner | |
| 2020-02-01 | Replace MonadIO constraint with just Monad | Eugen Wissner | |
| And make the tests use Identity instead of IO. | |||
| 2019-12-31 | Retrieve resolver arguments from the reader | Eugen Wissner | |
| 2019-12-30 | Replace substitution function with a map | Eugen 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-06 | Support directives (skip and include) | Eugen Wissner | |
| Fixes #24. | |||
| 2019-12-02 | Consider __typename when evaluating fragments | Eugen Wissner | |
| Fixes #30. | |||
| 2019-11-14 | Fail on cyclic fragments, fix #22 | Eugen Wissner | |
| 2019-11-12 | Support nested fragments in any order | Eugen Wissner | |
| Fix #19. | |||
| 2019-11-09 | Support nested fragments | Eugen Wissner | |
| ... without forward lookup. | |||
| 2019-11-03 | Move related modules to Language.GraphQL.AST | Eugen 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-19 | Handle top-level fragments | Eugen Wissner | |
| Fixes #17. | |||
| 2019-10-11 | Inline fragments without type | Eugen Wissner | |
| Fixes #11. | |||
| 2019-10-08 | Support inline fragments on types | Eugen Wissner | |
| 2019-09-27 | Introduce hspec-megaparsec | Eugen Wissner | |
| Fixes #13. | |||
| 2019-09-13 | Add pending inline fragment tests | Eugen Wissner | |
| 2019-09-01 | Deprecate enum, enumA, wrappedEnum, wrappedEnumA | Eugen 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-30 | Deprecate Language.GraphQL.Execute.Schema | Eugen 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-05 | Make all encoder functions return lazy text | Eugen Wissner | |
| 2019-08-03 | Implement indentation in the encoder | Eugen Wissner | |
| 2019-08-02 | Put spaces between tokens in the pretty printer | Eugen Wissner | |
| 2019-07-31 | Introduce formatter type for the encoder | Eugen Wissner | |
| ... to distinguish between minified and pretty printing. | |||
| 2019-07-27 | Test the encoder with the unminified document | Eugen Wissner | |
| 2019-07-14 | Make all exports explicit | Eugen Wissner | |
| 2019-07-10 | Replace tasty and HUnit with Hspec | Eugen Wissner | |
| 2019-07-08 | Constrain the resolvers with MonadIO | Eugen 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-07 | Change the main namespace to Language.GraphQL | Eugen Wissner | |
| 2019-07-05 | Allow resolvers to return arbitrary nested lists | Eugen Wissner | |
| 2019-07-03 | Add nullable types | Eugen Wissner | |
| 2019-07-02 | Introduce monad transformer for resolvers | Eugen 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-06-28 | Replace Alternative with MonadPlus | Eugen Wissner | |
| 2019-06-27 | Restore error handling | Eugen Wissner | |
| 2017-03-03 | When argument is not found return null | Danny Navarro | |
| The relevant test was restored too. | |||
| 2017-03-01 | Implement type instrospection tests | Danny Navarro | |
| The main intention with this commit is to show a poor's man way to support type instrospection. | |||
