Commit Graph

7 Commits

Author SHA1 Message Date
Danny Navarro
bada28ce24
Simplify fragment substitution 2017-02-24 16:46:51 -03:00
Danny Navarro
d2c138f8d1
Add basic Fragment Support
Only field names are supported for now.
2017-02-23 15:29:58 -03:00
Danny Navarro
b7a72591fd
Support variables in AST transformation 2017-02-13 15:19:13 -03:00
Danny Navarro
4ab4660d36
Initial implementation of AST.Full -> AST.Core
This focused mainly on fragments.
2017-02-10 15:00:22 -03:00
Danny Navarro
693b7d18dc
Introduce Tranform module
In the Transform module the Full AST will converted to Core AST.

This commit also includes a partial implementation of Fragment replacement.
2017-02-02 12:44:03 -03:00
Danny Navarro
5390c4ca1e
Split AST in 2
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-28 14:15:14 -03:00
Danny Navarro
3e991adf4e
Add Graphql Core AST 2017-01-26 12:52:07 -03:00