Commit Graph

881 Commits

Author SHA1 Message Date
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
Vladimir Razuvaev
ae5cffb6d5 Merge pull request #45 from konforce/decode-escaped-strings
Change Lexer::readString to decode escaped characters to their litera…
2016-09-14 17:43:32 +07:00
Matthew Leverton
7c6f216578 Change Lexer::readString to decode escaped characters to their literal values 2016-07-14 13:32:57 -05:00
Jérémiah VALERIE
0c1ad084d4 Merge pull request #44 from mcg-web/removed_memoization_on_executor_resolve_field
Removed memoization on executor resolveField (see #43)
2016-06-11 08:43:32 +02:00
Jeremiah VALERIE
3ae6c73367 Removed memoization on executor resolveField (see #43) 2016-06-10 11:57:43 +02:00
Vladimir Razuvaev
0e1929f0b1 Merge pull request #39 from mcg-web/fix_resolve_info_field_selection_when_using_multiple_fragments
Fix `ResolveInfo::getFieldSelection()` when using multiple fragments
2016-05-25 12:14:29 +06:00
Jeremiah VALERIE
be46b14441 Fix ResolveInfo::getFieldSelection() when using multiple fragments on the same field. 2016-05-18 16:20:53 +02:00
Vladimir Razuvaev
7916c54926 Merge pull request #37 from mcg-web/execution-result-extensions
Add ExecutionResult $extensions
2016-04-25 19:55:11 +06:00
Jeremiah VALERIE
de4eba7077 Fix interface implementaion when interface is extends. 2016-04-25 14:44:08 +02:00
Jérémiah VALERIE
327cc52601 Add ExecutionResult $extensions
https://facebook.github.io/graphql/#sec-Response-Format
2016-04-25 14:44:08 +02:00
vladar
4d024ee85e Test for lazy interface initialization + minor related tweak 2016-04-20 18:04:11 +06:00
Vladimir Razuvaev
0a0c8181ea Merge pull request #33 from mcg-web/lazy_implementation_to_interfaces_loading
Optimized implementation to interfaces loading
2016-04-20 17:58:09 +06:00
Jeremiah VALERIE
3c6305c121 * Optimized implementation to interfaces using lazy loader
* Union types now accepting callback
2016-04-19 21:26:13 +02:00
Vladimir Razuvaev
36a845499c Merge pull request #32 from mcg-web/add_query_security_rules
Add query security document validation rules
2016-04-15 16:48:58 +06:00
Jeremiah VALERIE
545fe616a0 Add Complexity and Depth Query Security 2016-04-09 15:31:07 +02:00
Jeremiah VALERIE
1bc5e0c9da Use PSR-4 Autoloader for tests 2016-04-09 14:14:40 +02:00
Jeremiah VALERIE
7cb99cc3ff Add phpunit config file 2016-04-09 14:14:40 +02:00
Jeremiah VALERIE
cc2464ed10 move to PSR-4 autoloader 2016-04-09 09:15:45 +02:00
Jeremiah VALERIE
2168d56d2d * Named default rules
* add accessors to ease rules management
* replace self by static on public methods to help extending DocumentValidator class
2016-04-09 08:44:57 +02:00
vladar
68d8681983 #30 Fixed recursion bug in ResolveInfo::getFieldSelection() 2016-04-01 16:30:52 +06:00
Vladimir Razuvaev
6fc46beb3f Merge pull request #28 from mcg-web/patch-2
setDefaultResolveFn should be static
2016-03-12 07:46:21 +00:00
Jérémiah VALERIE
8763c94ea3 setDefaultResolveFn should be static
To ease override of $defaultResolveFn the setter should be `static`
2016-03-12 00:30:46 +01:00
Vladimir Razuvaev
dba93ab233 Merge pull request #27 from mcg-web/patch-1
Symfony2 integration
2016-03-07 16:49:24 +06:00
Jérémiah VALERIE
d372ebaf35 Add a Symfony2 implementation 2016-03-07 11:11:52 +01:00
vladar
201fb7754f Additional test case for input type fields definition as closure 2016-02-27 12:30:45 +06:00
vladar
d37fb34e96 Ability to define interface fields with closure 2016-02-27 12:29:45 +06:00
vladar
f548de59fe Fixes for definition config validation after recent changes 2016-02-25 15:23:42 +06:00
vladar
083cb4e3f2 Added Complementary Tools section to README 2016-02-24 23:47:57 +06:00
vladar
dea4485429 Removed scary warning in README 2016-02-24 23:30:05 +06:00
vladar
b890ef7cfe Ability to define InputObjectType fields with closure (#22) 2016-02-24 23:25:36 +06:00
vladar
cc6c6a14f5 Expose original type configs for custom app-level metadata 2016-01-21 17:07:05 +07:00
vladar
98e5835620 Avoid infinite loop when using recursive types and interfaces (#16) 2016-01-01 19:16:25 +06:00
Vladimir Razuvaev
4591840ec7 Merge pull request #17 from andytruong/schema-subscriptionType
Added subscriptionType for introspection compatibility
2015-12-21 16:00:37 +06:00
Andy Truong
968da9d122 Add subscriptionType. 2015-12-21 06:35:22 +07:00
Vladimir Razuvaev
68365e29e7 Merge pull request #13 from MPV/patch-1
Added semicolon to HTTP endpoint example.
2015-12-03 14:38:35 +06:00
Victor
d24a8fa281 Added semicolon to HTTP endpoint example. 2015-12-03 09:15:51 +01:00
vladar
68fb4ceb9c Refactored facade to simplify custom output formatting 2015-11-02 20:39:51 +06:00
vladar
c81605bfb1 Fixed bug with failing error reporting for mismatching interface / union implementations 2015-10-25 19:35:36 +06:00
vladar
ea4d43f00f Better approach for latest performance tweaks (#8) 2015-10-25 19:08:24 +06:00
vladar
3b3da9e066 Several performance improvements (#8) 2015-10-25 14:23:15 +06:00
vladar
d982bad63a Make sure default argument values are passed to resolve function (#4) 2015-10-23 17:30:02 +06:00
vladar
965c3ff743 Minor executor refactoring related to handling "resolve" errors 2015-10-23 15:45:40 +06:00
vladar
83f42825f8 Reverted mapping executor (#6) 2015-10-23 15:44:01 +06:00
vladar
0b5b50e7f9 Added travis build status in Readme 2015-10-18 00:55:12 +06:00
vladar
a52a5b2c73 Undocumented map for now (highly likely that it will be reverted) 2015-10-18 00:48:39 +06:00
vladar
7f70292cbc Merge pull request #7 from intrepion/adding-travis-configuration
Adding travis configuration
2015-10-18 00:22:44 +06:00
Oliver Forral
d32d0b1304 Removing 5.3 from travis configuration 2015-10-17 08:30:09 -07:00