summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-23Add singleError utility functionv0.4.0.0Eugen Wissner
2019-07-22Parse the BOM header if anyEugen Wissner
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-19Report parse errors with line and column numbersEugen Wissner
2019-07-18Reuse common types from AST.CoreEugen Wissner
2019-07-17Remove TODOEugen Wissner
Issues should be created instead.
2019-07-14Make all exports explicitEugen Wissner
2019-07-10Replace tasty and HUnit with HspecEugen 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-06Add licence badgeEugen 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
2019-06-29Remove GHCI configEugen Wissner
2019-06-28Replace Alternative with MonadPlusEugen Wissner
2019-06-27Restore error handlingEugen Wissner
2019-06-26Fix ambigious Int resolution in the lexer testsEugen Wissner
2019-06-23Enable mutationsEugen Wissner
2019-06-21Parse queries with megaparsecEugen Wissner
2019-06-11Add package.yaml, update stack snapshot to 13.25Eugen Wissner
2017-03-07Merge pull request #22 from Lupino/masterDanny Navarro
update docs
2017-03-05update docsLupino
2017-03-03When argument is not found return nullDanny Navarro
The relevant test was restored too.
2017-03-03Fix wrong scientific exponent when parsingDanny Navarro
2017-03-01Implement type instrospection testsDanny Navarro
The main intention with this commit is to show a poor's man way to support type instrospection.
2017-03-01GardenDanny Navarro
2017-03-01Make alternate Schema functions work with AST.CoreDanny Navarro
2017-03-01Merge pull request #20 from Lupino/masterDanny Navarro
2017-02-28Use builtin scientific `toBoundInteger` to check for Int32 boundsDanny Navarro
2017-02-28Merge branch 'core'Danny Navarro
This introduces a distinction between a Full and a Core AST. Fragments and variables are replaced when transforming from Full to Core.
2017-02-24Simplify fragment substitutionDanny Navarro
2017-02-23Add basic Fragment SupportDanny Navarro
Only field names are supported for now.
2017-02-23Enable Monad for array and object resolverLupino
When I use facebook/haxl, I can not find any way to the sub resolver. so I add Monad resolver to support it.
2017-02-13Fix parsing of Named TypesDanny Navarro
2017-02-13Support variables in AST transformationDanny Navarro
2017-02-10Wrap executed result in "data" objectDanny Navarro
2017-02-10Initial implementation of AST.Full -> AST.CoreDanny Navarro
This focused mainly on fragments.
2017-02-03Make operation name optionalDanny Navarro
2017-02-02Introduce Tranform moduleDanny Navarro
In the Transform module the Full AST will converted to Core AST. This commit also includes a partial implementation of Fragment replacement.
2017-01-30Define Schema using Core ASTDanny Navarro
Also, temporarily remove error reporting to simplify execution. This should be restored once the new execution model is nailed.
2017-01-29Update .gitignoreDanny Navarro
2017-01-28Merge pull request #19 from jasonzoladz/masterDanny Navarro
Fix Int32 bounds checking in Value parser.
2017-01-28Split AST in 2Danny Navarro
One AST is meant to be a target parser and tries to adhere as much as possible to the spec. The other is a simplified version of that AST meant for execution. Also newtypes have been replaced by type synonyms and NonEmpty lists are being used where it makes sense.
2017-01-28Fix Int32 bounds checking in Value parser.jasonzoladz
2017-01-26Add Graphql Core ASTDanny Navarro
2017-01-26Remove Type Definition supportDanny Navarro