From 2ddae2bf8820e9524e1b915c555aa722e047ba43 Mon Sep 17 00:00:00 2001 From: vladar Date: Thu, 26 Jan 2017 18:59:14 +0700 Subject: [PATCH] Added EXPERIMENTAL note for code related to type resolution strategies --- src/Server.php | 6 ++++++ src/Type/EagerResolution.php | 7 +++++++ src/Type/LazyResolution.php | 7 +++++++ src/Type/Resolution.php | 7 +++++++ 4 files changed, 27 insertions(+) diff --git a/src/Server.php b/src/Server.php index e10f15d..1d3817a 100644 --- a/src/Server.php +++ b/src/Server.php @@ -400,6 +400,9 @@ class Server } /** + * EXPERIMENTAL! + * This method can be removed or changed in future versions without a prior notice. + * * @return Resolution */ public function getTypeResolutionStrategy() @@ -408,6 +411,9 @@ class Server } /** + * EXPERIMENTAL! + * This method can be removed or changed in future versions without a prior notice. + * * @param Resolution $typeResolutionStrategy * @return Server */ diff --git a/src/Type/EagerResolution.php b/src/Type/EagerResolution.php index ce06389..e7a9aa9 100644 --- a/src/Type/EagerResolution.php +++ b/src/Type/EagerResolution.php @@ -11,6 +11,13 @@ use GraphQL\Type\Definition\UnionType; use GraphQL\Type\Definition\WrappingType; use GraphQL\Utils; +/** + * EXPERIMENTAL! + * This class can be removed or changed in future versions without a prior notice. + * + * Class EagerResolution + * @package GraphQL\Type + */ class EagerResolution implements Resolution { /** diff --git a/src/Type/LazyResolution.php b/src/Type/LazyResolution.php index 3acccc4..998bcfe 100644 --- a/src/Type/LazyResolution.php +++ b/src/Type/LazyResolution.php @@ -7,6 +7,13 @@ use GraphQL\Type\Definition\ObjectType; use GraphQL\Type\Definition\Type; use GraphQL\Utils; +/** + * EXPERIMENTAL! + * This class can be removed or changed in future versions without a prior notice. + * + * Class LazyResolution + * @package GraphQL\Type + */ class LazyResolution implements Resolution { /** diff --git a/src/Type/Resolution.php b/src/Type/Resolution.php index 1f47655..bd00b8f 100644 --- a/src/Type/Resolution.php +++ b/src/Type/Resolution.php @@ -5,6 +5,13 @@ use GraphQL\Type\Definition\AbstractType; use GraphQL\Type\Definition\ObjectType; use GraphQL\Type\Definition\Type; +/** + * EXPERIMENTAL! + * This interface can be removed or changed in future versions without a prior notice. + * + * Interface Resolution + * @package GraphQL\Type + */ interface Resolution { /**