Vladimir Razuvaev
|
a1e06b2e61
|
Account for query offset in files for errors
|
2017-09-20 18:36:19 +07:00 |
|
Vladimir Razuvaev
|
085516bdda
|
Moved GraphQL\Language\AST\Node::fromArray to GraphQL\Utils\AST::fromArray
|
2017-08-20 19:50:44 +07:00 |
|
Vladimir Razuvaev
|
bd444752f8
|
Documentation and docblock improvements
|
2017-08-20 16:00:44 +07:00 |
|
Vladimir Razuvaev
|
1b4f983f3f
|
Improved docblock comments (suitable for reference docs generation)
|
2017-08-19 23:01:46 +07:00 |
|
Vladimir Razuvaev
|
2bfce65484
|
Fixed Parser docblock comments
|
2017-08-18 02:55:22 +07:00 |
|
Vladimir Razuvaev
|
51e877bfba
|
Improving docblock comments
|
2017-08-17 02:15:49 +07:00 |
|
Vladimir Razuvaev
|
3e6f2c9e83
|
Fixed minor bugs
|
2017-07-25 19:26:41 +07:00 |
|
Vladimir Razuvaev
|
1af902865b
|
AST: new NodeList class for collections of nodes (vs array) to enable effective conversion of libgraphqlparser output to our AST tree
|
2017-07-21 22:29:59 +07:00 |
|
Vladimir Razuvaev
|
296544089c
|
Moved GraphQL\Utils to GraphQL\Utils\Utils
|
2017-07-10 19:53:46 +07:00 |
|
Vladimir Razuvaev
|
a79a51d445
|
Schema Parsing: allow leading pipe for union type definitions
|
2017-07-05 19:01:13 +07:00 |
|
Vladimir Razuvaev
|
a0657b7847
|
Refactored Lexer algorithm for better performance. Now O(N) vs O(N^2) previously (#137)
|
2017-06-24 22:42:55 +07:00 |
|
Vladimir Razuvaev
|
848f9c3edf
|
Preserve backwards compatibility of Ast\Node::toArray(): do shallow conversion by default
|
2017-04-25 18:02:45 +07:00 |
|
Vladimir Razuvaev
|
835e4e6b2d
|
Removed unnecessary loc entry in AST\Node::toArray()
|
2017-04-25 18:00:06 +07:00 |
|
Andreas Heiberg
|
ed8bf4e2b2
|
fix __toString() for AST Node
previously it would only shallowly convert to array causing json_encode to fail
|
2017-04-07 11:34:33 +01:00 |
|
Vladimir Razuvaev
|
34ca931533
|
Sanity check to ensure that GraphQL query is string
|
2017-02-24 17:14:30 +07:00 |
|
jane-olszewska
|
060dc51595
|
Set schema element description to strings retrieved from a continuous chunk of comment tokens immediately preceding the element
|
2017-02-06 18:33:21 +00:00 |
|
jane-olszewska
|
dd31ab2b80
|
Added a description field to schema type definition classes
|
2017-02-06 18:33:18 +00:00 |
|
jane-olszewska
|
bbb5cf1e4d
|
Fixed comment token extraction: will no longer read one character from the next line
|
2017-02-06 18:13:43 +00:00 |
|
vladar
|
660200ed50
|
GraphQL\Language\AST\NodeType -> GraphQL\Language\AST\NodeKind
|
2016-11-19 17:31:47 +07:00 |
|
vladar
|
5a17ae8246
|
Clearer lexer errors
|
2016-11-19 17:08:20 +07:00 |
|
vladar
|
5aad8b596b
|
Consistent docblock comments for arrays
|
2016-11-19 06:19:41 +07:00 |
|
vladar
|
8d696edee5
|
Renamed AST nodes to *Node to disambiguate types
|
2016-11-19 06:12:18 +07:00 |
|
vladar
|
439959b292
|
Enforce input coercion rules
|
2016-11-19 04:15:40 +07:00 |
|
vladar
|
8a676cde99
|
Support for NullValue
|
2016-11-18 23:59:28 +07:00 |
|
vladar
|
5d889ccacd
|
Reverted several breaking changes from #75; tests are green
|
2016-11-16 18:37:35 +07:00 |
|
Andreas Heiberg
|
b2c8d8eeb1
|
[style changes] Lexer
|
2016-11-16 18:14:46 +07:00 |
|
Andreas Heiberg
|
816fa067b3
|
type hint Name node in visitor
|
2016-11-16 18:06:25 +07:00 |
|
Andreas Heiberg
|
46788f2ddb
|
move NodeTypes enum to seperate class
|
2016-11-16 18:02:58 +07:00 |
|
Andreas Heiberg
|
2e25f51829
|
[style change] put VisitorOperation up top
|
2016-11-16 17:30:25 +07:00 |
|
Andreas Heiberg
|
80a662564e
|
[style changes] arrays and callback
|
2016-11-16 17:29:50 +07:00 |
|
Andreas Heiberg
|
3c98963f72
|
remove static functions from Printer
|
2016-11-16 17:22:57 +07:00 |
|
vladar
|
2675b65095
|
Moved all error-related classes to separate namespace; fixed related broken tests
|
2016-10-21 16:40:56 +07:00 |
|
vladar
|
2369454687
|
Minor comment tweaks + ability to define enum values as simple k=>v pairs
|
2016-10-21 03:10:06 +07:00 |
|
vladar
|
236021acf8
|
Added deprecated directive; changed custom directives handling in schema; various minor tweaks
|
2016-10-19 01:34:46 +07:00 |
|
vladar
|
357166791a
|
Consistent coding style + doc block comments for Types and Utils
|
2016-10-17 19:14:29 +07:00 |
|
vladar
|
cd14146032
|
Updated parser to consume latest lexer; New public parser API methods: parseType and parseValue; added directives to schema parser/printer
|
2016-10-17 02:57:24 +07:00 |
|
vladar
|
3eeb4d450b
|
Reworked lexer: tokens are now represented as double linked list
|
2016-10-17 02:53:50 +07:00 |
|
vladar
|
e82f887918
|
Fixed visitor; more visitor tests
|
2016-09-14 18:41:02 +07:00 |
|
vladar
|
800d8ba25f
|
Continue updating validator rules for april2016 spec
|
2016-09-14 18:41:02 +07:00 |
|
vladar
|
f1ddc98390
|
Updating validator rules for april2016 spec
|
2016-09-14 18:41:02 +07:00 |
|
vladar
|
17081cec1c
|
More AST visitor tests
|
2016-09-14 18:41:02 +07:00 |
|
vladar
|
687b023616
|
Schema language parsing / printing
|
2016-09-14 18:41:02 +07:00 |
|
vladar
|
4f4776726d
|
Updated parser to 2016 spec version; schema language parsing
|
2016-09-14 18:41:02 +07:00 |
|
vladar
|
86adfde0a0
|
Updated AST to 2016 spec version
|
2016-09-14 18:41:02 +07:00 |
|
vladar
|
c053169671
|
Updated Lexer and LexerTest to april 2016 spec
|
2016-09-14 18:41:02 +07:00 |
|
Matthew Leverton
|
7c6f216578
|
Change Lexer::readString to decode escaped characters to their literal values
|
2016-07-14 13:32:57 -05:00 |
|
vladar
|
841d6ab851
|
Updated to latest version of graphql-js
|
2015-08-17 20:01:55 +06:00 |
|
vladar
|
022c962942
|
New language features (NamedType, directives rethinking)
|
2015-08-17 02:53:11 +06:00 |
|
vladar
|
698b2cb862
|
Minor errors refactoring
|
2015-08-16 17:17:48 +06:00 |
|
vladar
|
20c482ce2f
|
Version 0.1
|
2015-07-15 23:05:46 +06:00 |
|