OwlyCode
|
d022b19b4e
|
Added compatibility with php7 error handling.
|
2017-01-12 17:18:25 +01:00 |
|
Juuso Leinonen
|
90c4b5d9fa
|
Changed ReactPromiseAdapter::all to preserve the array key order and added tests
|
2016-12-22 15:08:28 +02:00 |
|
vladar
|
ff3a40d329
|
Execution: modified deferred behavior to be more predictable (+added more tests for them)
|
2016-12-17 05:14:51 +07:00 |
|
vladar
|
9e8e77a071
|
Execution: Calling resolve function directly (vs calling it via call_user_func)
|
2016-12-15 15:34:27 +07:00 |
|
vladar
|
a165c3aaab
|
Shortened method names of PromiseAdapter
|
2016-12-04 15:53:23 +07:00 |
|
vladar
|
7ab75cd05a
|
Execution: tests are green
|
2016-12-03 04:11:14 +07:00 |
|
vladar
|
ab4ae779af
|
Execution: fixed rejection issue in sync promise
|
2016-12-03 02:48:51 +07:00 |
|
vladar
|
e97ca7f971
|
Execution: added SyncPromiseAdapter and made it default for Executor (+removed GenericPromiseAdapter)
|
2016-12-03 02:14:14 +07:00 |
|
vladar
|
48d78412ec
|
Execution: refactored promise adapters
|
2016-12-03 02:06:28 +07:00 |
|
vladar
|
3a375bb78e
|
Simple implementation of Promises A+ for our sync case (using queue)
|
2016-12-02 18:43:54 +07:00 |
|
vladar
|
821e96508b
|
Execution: added promiseForAssocArray method for cases when result contains promise
|
2016-12-01 18:29:50 +07:00 |
|
vladar
|
418ee48b20
|
Execution: moved then method to promise adapter
|
2016-12-01 17:52:42 +07:00 |
|
vladar
|
77244d3aab
|
Refactored executor: now works as instance with exeContext and promise adapter as properties
|
2016-12-01 17:09:22 +07:00 |
|
Jeremiah VALERIE
|
dd9062d77e
|
Add a generic promise support.
Make lib supports promises, using a promise adapter interface.
|
2016-11-26 20:50:01 +01:00 |
|
vladar
|
0969073b8a
|
Reverted DefinitionContainer (YAGNI)
|
2016-11-25 16:54:57 +07:00 |
|
vladar
|
7c0aa4ceec
|
Better docs and comments on breaks and deprecations for 8.0
|
2016-11-25 16:37:00 +07:00 |
|
vladar
|
660200ed50
|
GraphQL\Language\AST\NodeType -> GraphQL\Language\AST\NodeKind
|
2016-11-19 17:31:47 +07:00 |
|
vladar
|
0ab55ec0d9
|
Replaced "AST" with "Node" in variable names for better readability
|
2016-11-19 06:47:55 +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
|
5ce9a7009a
|
Renamed default resolver
|
2016-11-19 04:22:08 +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 |
|
Andreas Heiberg
|
d8ca5f4183
|
move to NodeType enum
|
2016-11-16 18:07:56 +07:00 |
|
vladar
|
1927102183
|
Minor executor tweaks
|
2016-11-07 19:52:44 +07:00 |
|
vladar
|
6023c0ff60
|
Refactoring abstract type resolution
|
2016-11-07 17:28:47 +07:00 |
|
vladar
|
afbd5dbc90
|
Removed last traces of field memoization
|
2016-11-07 16:26:02 +07:00 |
|
vladar
|
61245213c4
|
Minor instanceof tweak
|
2016-11-02 00:41:44 +07:00 |
|
vladar
|
e56eb6e10d
|
Replaced \UnexpectedValueException with GraphQL\Error\InvariantViolationException; Improved some instanceof checks
|
2016-11-01 23:40:37 +07:00 |
|
vladar
|
9941a0143a
|
Added DefinitionContainer interface to enable compositional use of user-land types (vs extending ObjectType, InterfaceType, etc). Very similar to IteratorAggregate vs Iterator
|
2016-10-23 05:05:50 +07:00 |
|
vladar
|
276a58f6d1
|
Reverted one minor breaking change
|
2016-10-22 17:19:40 +07:00 |
|
vladar
|
a612b780c9
|
Return stdClass vs empty array for empty ObjectType values (see #59)
|
2016-10-22 17:16:47 +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
|
c25a29213c
|
Fixed reported path for error; deprecated old FormattedError tool
|
2016-10-21 04:47:07 +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
|
7625d6abf1
|
Scalar serialization now throws on spec-incompatible values vs returning null
|
2016-10-19 01:23:38 +07:00 |
|
vladar
|
7f22d4b874
|
Spec compliance improvement: data key should not exist in response when it is null / missing (#56)
|
2016-10-18 22:25:39 +07:00 |
|
vladar
|
3e2d9459aa
|
resolveType for interface/unions is now allowed to return type name vs instance
|
2016-10-18 22:23:20 +07:00 |
|
vladar
|
89eb6dede9
|
Breaking change when returning Closure from resolver: this closure is expected to have different signature now (shouldn't affect most of the users)
|
2016-10-18 22:20:51 +07:00 |
|
vladar
|
a94640f9d2
|
Enabled GraphQL\Error to include path to failed value during execution step (not location in source query, but exact path to value, including index in array, etc) + tests for errors
|
2016-10-18 22:15:21 +07:00 |
|
vladar
|
26db43e7c4
|
Enabled subscriptions in executor
|
2016-09-14 18:47:34 +07:00 |
|
vladar
|
c3d7a49a08
|
Updated executor and it's tests for april2016 specs
|
2016-09-14 18:47:34 +07:00 |
|
vladar
|
e7c7924dc0
|
New AST utils + test
|
2016-09-14 18:41:02 +07:00 |
|
Jeremiah VALERIE
|
3ae6c73367
|
Removed memoization on executor resolveField (see #43)
|
2016-06-10 11:57:43 +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 |
|
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 |
|
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 |
|