mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-22 04:46:04 +03:00
Added entries about deprecation of old server and type resolution strategies to UPGRADE.md document
This commit is contained in:
parent
1f68909eb0
commit
cbc744ea08
@ -139,6 +139,12 @@ $schema->assertValid();
|
||||
```
|
||||
See https://github.com/webonyx/graphql-php/issues/148
|
||||
|
||||
### Deprecated: experimental `GraphQL\Server`
|
||||
Use [new PSR-7 compliant implementation](docs/executing-queries.md#using-server) instead.
|
||||
|
||||
### Deprecated: experimental `GraphQL\Type\Resolution` interface and implementations
|
||||
Use schema [**typeLoader** option](docs/type-system/schema.md#lazy-loading-of-types) instead.
|
||||
|
||||
### Non-breaking: usage on async platforms
|
||||
When using the library on async platforms use separate method `GraphQL::promiseToExecute()`.
|
||||
It requires promise adapter in it's first argument and always returns a `Promise`.
|
||||
|
Loading…
Reference in New Issue
Block a user