Added EXPERIMENTAL note for code related to type resolution strategies

This commit is contained in:
vladar 2017-01-26 18:59:14 +07:00
parent b4e6630c1d
commit 2ddae2bf88
4 changed files with 27 additions and 0 deletions

View File

@ -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
*/

View File

@ -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
{
/**

View File

@ -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
{
/**

View File

@ -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
{
/**