From cbc744ea08d62920173058d91a9ee98b2e29bd34 Mon Sep 17 00:00:00 2001 From: Vladimir Razuvaev Date: Sun, 20 Aug 2017 23:16:23 +0700 Subject: [PATCH] Added entries about deprecation of old server and type resolution strategies to UPGRADE.md document --- UPGRADE.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/UPGRADE.md b/UPGRADE.md index 848a2f6..2311ce9 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -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`.