| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-07-17 | Constrain base monad to MonadCatch | Eugen 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-15 | Respect subscriptions in the executor | Eugen Wissner | |
| After the last commit there were a few places needed to be adjusted to support subscriptions. This is done and a test case is added. It is important to implement subscriptions now, because they require changes to the library API, and they are a big missing part to finish the executor. When the executor is finished, we can start to provide more stable API without breaking everything every release. Validation and introspection shouldn't require much changes to the API; AST would require some changes to report good errors after the validation - this is one thing I can think of. Fixes #5. | |||
| 2020-07-14 | Support subscriptions | Eugen 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-11 | Parse subscriptions | Eugen Wissner | |
| 2020-07-09 | Parse comments in the front of definitions | Eugen Wissner | |
| 2020-07-08 | Return parser error location in a list | Eugen Wissner | |
| An error can have multiple locations which are returned in a listt with key "locations". | |||
| 2020-07-05 | Handle errors using custom types | Eugen Wissner | |
| Fixes #32. | |||
| 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-12 | Merge selection sets | Eugen Wissner | |
| 2020-06-10 | Skip unknown fields | Eugen Wissner | |
| 2020-06-07 | Add description to the enum type values | Eugen Wissner | |
| 2020-06-06 | Coerce argument values properly | Eugen Wissner | |
| Fixes #44. | |||
| 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-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-22 | Reject variables as default values | Eugen Wissner | |
| 2020-05-21 | Coerce variable values | Eugen Wissner | |
| 2020-05-13 | Accept resolvers given by the user as is | Eugen Wissner | |
| 2020-04-10 | Don't encode controls as block strings | Dmitrii 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-03-31 | encode null value as "null" | Dmitrii Skurikhin | |
| 2020-01-28 | Try all extension parsers | Eugen Wissner | |
| 2020-01-25 | Parse schema extensions | Eugen Wissner | |
| 2020-01-17 | Add "extend symbol" lexer to parse extensions | Eugen Wissner | |
| 2020-01-15 | Parse complete TypeSystemDefinition | Eugen Wissner | |
| 2020-01-13 | Parse enum and input object type definitions | Eugen Wissner | |
| 2020-01-13 | Parse interface type definition | Eugen Wissner | |
| 2020-01-13 | Parse union definitions | Eugen Wissner | |
| 2020-01-13 | Parse ObjectDefinition | Eugen Wissner | |
| 2020-01-13 | Parse SchemaDefinition | Eugen Wissner | |
| 2019-12-28 | Move AST to AST.Document | Eugen Wissner | |
| 2019-12-25 | Replace AST.Selection data constructors | Eugen Wissner | |
| 2019-12-21 | Pretify multi-line string arguments as block strings | Eugen Wissner | |
| Fixes #10. | |||
| 2019-12-20 | Encode Unicode. Fix #34 | Eugen Wissner | |
| 2019-12-19 | Escape non-source characters in the encoder | Eugen Wissner | |
| 2019-11-28 | Fix strings not consuming spaces | Sam Nolan | |
| Fixes #28 | |||
| 2019-11-21 | Fix failed parsing on multiple required arguments | Sam Nolan | |
| Fixes #25. | |||
| 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-09-27 | Introduce hspec-megaparsec | Eugen Wissner | |
| Fixes #13. | |||
| 2019-09-06 | Fix #12 | Eugen Wissner | |
| 2019-08-13 | Escape special characters in the encoded strings | Eugen Wissner | |
| Fixes #2. | |||
| 2019-07-23 | Add singleError utility functionv0.4.0.0 | Eugen Wissner | |
| 2019-07-22 | Parse the BOM header if any | Eugen Wissner | |
| 2019-07-10 | Replace tasty and HUnit with Hspec | Eugen Wissner | |
| 2019-06-26 | Fix ambigious Int resolution in the lexer tests | Eugen Wissner | |
| 2019-06-21 | Parse queries with megaparsec | Eugen Wissner | |
