mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-02-06 07:49:24 +03:00
Add Fallback for DirectiveLocations
This commit is contained in:
parent
61fe317faf
commit
f9a366e69a
17
src/Type/Definition/DirectiveLocation.php
Normal file
17
src/Type/Definition/DirectiveLocation.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
namespace GraphQL\Type\Definition;
|
||||
|
||||
use GraphQL\Language\DirectiveLocation as NewDirectiveLocation;
|
||||
|
||||
trigger_error(
|
||||
'GraphQL\Type\Definition\DirectiveLocation was moved to GraphQL\Language\DirectiveLocation and will be deleted on next release',
|
||||
E_USER_DEPRECATED
|
||||
);
|
||||
|
||||
/**
|
||||
* @deprecated moved to GraphQL\Language\DirectiveLocation
|
||||
*/
|
||||
class DirectiveLocation extends NewDirectiveLocation
|
||||
{
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user