mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-29 00:25:17 +03:00
Note about new executor in UPGRADE.md
This commit is contained in:
parent
21e0c830a6
commit
0f3ebaa20b
14
UPGRADE.md
14
UPGRADE.md
@ -1,5 +1,18 @@
|
|||||||
## Upgrade v0.12.x > dev-master
|
## Upgrade v0.12.x > dev-master
|
||||||
|
|
||||||
|
### Try it: Experimental Executor with improved performance
|
||||||
|
It is disabled by default. To enable it, do the following
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
use GraphQL\Executor\Executor;
|
||||||
|
use GraphQL\Experimental\Executor\CoroutineExecutor;
|
||||||
|
|
||||||
|
Executor::setImplementationFactory([CoroutineExecutor::class, 'create']);
|
||||||
|
```
|
||||||
|
|
||||||
|
**Please post your feedback about new executor at https://github.com/webonyx/graphql-php/issues/397
|
||||||
|
Especially if you had issues (because it may become the default in one of the next releases)**
|
||||||
|
|
||||||
### Breaking: minimum supported version of PHP
|
### Breaking: minimum supported version of PHP
|
||||||
New minimum required version of PHP is **7.1+**
|
New minimum required version of PHP is **7.1+**
|
||||||
|
|
||||||
@ -51,6 +64,7 @@ After the change:
|
|||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Upgrade v0.11.x > v0.12.x
|
## Upgrade v0.11.x > v0.12.x
|
||||||
|
|
||||||
### Breaking: Minimum supported version is PHP5.6
|
### Breaking: Minimum supported version is PHP5.6
|
||||||
|
Loading…
Reference in New Issue
Block a user