Skip to content

Commit

Permalink
API Deprecate GraphQL
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Aug 15, 2024
1 parent 4f4a006 commit eecb69c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/GraphQL/Resolvers/Resolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,20 @@
use SilverStripe\ORM\ValidationException;
use InvalidArgumentException;
use Exception;
use SilverStripe\Dev\Deprecation;

/**
* @deprecated 5.3.0 Will be removed without equivalent functionality to replace it
*/
class Resolver
{
public function __construct()
{
Deprecation::withNoReplacement(function () {
Deprecation::notice('5.3.0', 'Will be removed without equivalent functionality to replace it', Deprecation::SCOPE_CLASS);
});
}

/**
* @param $value
* @return object
Expand Down

0 comments on commit eecb69c

Please sign in to comment.