Skip to content

Commit cbc744e

Browse files
committed
Added entries about deprecation of old server and type resolution strategies to UPGRADE.md document
1 parent 1f68909 commit cbc744e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

UPGRADE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,12 @@ $schema->assertValid();
139139
```
140140
See https://github.com/webonyx/graphql-php/issues/148
141141

142+
### Deprecated: experimental `GraphQL\Server`
143+
Use [new PSR-7 compliant implementation](docs/executing-queries.md#using-server) instead.
144+
145+
### Deprecated: experimental `GraphQL\Type\Resolution` interface and implementations
146+
Use schema [**typeLoader** option](docs/type-system/schema.md#lazy-loading-of-types) instead.
147+
142148
### Non-breaking: usage on async platforms
143149
When using the library on async platforms use separate method `GraphQL::promiseToExecute()`.
144150
It requires promise adapter in it's first argument and always returns a `Promise`.

0 commit comments

Comments
 (0)