989e418cc2
Put spaces between tokens in the pretty printer
2019-08-02 13:52:51 +02:00
4812c8f039
Introduce formatter type for the encoder
...
... to distinguish between minified and pretty printing.
2019-07-31 05:40:17 +02:00
d690d22ce8
Test the encoder with the unminified document
2019-07-27 07:31:09 +02:00
15568a3b99
Implement multiple operation support
2019-07-25 07:37:36 +02:00
282946560e
Add singleError utility function
2019-07-23 07:22:32 +02:00
1b5094b6a3
Parse the BOM header if any
2019-07-22 05:50:00 +02:00
5cf10b38ec
Report parse errors with line and column numbers
2019-07-19 06:38:54 +02:00
bc6a7dddd1
Reuse common types from AST.Core
2019-07-18 05:10:02 +02:00
f3b8d9b74c
Make all exports explicit
2019-07-14 05:58:05 +02:00
61879fb124
Constrain the resolvers with MonadIO
...
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-08 10:15:47 +02:00
22d4a4e583
Change the main namespace to Language.GraphQL
2019-07-07 06:31:53 +02:00
d7b6fd0329
Allow resolvers to return arbitrary nested lists
2019-07-05 20:05:04 +02:00
2fa50d4f62
Update CI settings
2019-07-04 06:32:04 +02:00
6238b2fbfa
Add nullable types
2019-07-03 17:54:50 +02:00
91679650b5
Introduce monad transformer for resolvers
...
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-02 20:07:26 +02:00
1017b728d9
Pass root field names together with resolvers
2019-07-01 07:05:10 +02:00
f64e186c60
Move the source code into src/
2019-06-30 06:07:32 +02:00