Commit Graph

64 Commits

Author SHA1 Message Date
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
Oliver Forral
c25eadd312 Trying out all the versions of PHP on travis 2015-10-17 08:24:19 -07:00
vladar
197c2d3532 Allow thunks for Union possible types + preserve original type config with Union (for custom user-land definitions) 2015-10-17 17:37:40 +06:00
vladar
5f2b2376e0 Allow custom attributes in type definitions for user-land metadata 2015-10-17 17:35:56 +06:00
vladar
2d54f654c2 Fine-grained type checks for Executor 2015-10-17 17:34:51 +06:00
vladar
1c58fb5e71 Updated version in Readme 2015-09-06 15:54:30 +06:00
vladar
25c42e6b52 Added Utils::groupBy as a convenience tool 2015-09-06 15:50:16 +06:00
vladar
c312f73df3 Oops, added missing parseValue for EnumType 2015-09-06 15:49:23 +06:00
vladar
83e33659cb Do not mess with original value in executor. Copy it instead. 2015-09-06 15:48:16 +06:00
vladar
913caf33ec Removed old info from composer description 2015-09-01 02:02:54 +06:00
vladar
3edf6248b0 Mapping Executor 2015-09-01 01:44:03 +06:00
vladar
aeb56d139a Ability to receive list of requested fields from ResolveInfo (recursively) 2015-08-30 13:48:17 +06:00
vladar
74b922ce68 Use name as value for Enums if value wasn't set in definition 2015-08-30 13:47:09 +06:00
vladar
9ccfb93ef2 Saving original field config with field definition to allow custom app-level definitions 2015-08-30 13:46:20 +06:00
vladar
c6a9712790 Several useful utils for Traversables 2015-08-30 13:44:52 +06:00
vladar
003fa005ed Ability to set type-level "resolveField" method 2015-08-30 13:43:55 +06:00
vladar
5241c8a5d3 Better error messages for config validation 2015-08-30 13:41:41 +06:00
vladar
ee2ce29899 Merge remote-tracking branch 'origin/master'
Conflicts:
	README.md
2015-08-20 02:48:04 +06:00