Skip to content

Commit

Permalink
IBX-8224: Dropped BackwardCompatibleCommand (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou authored Jun 27, 2024
1 parent 514f0e5 commit 7b178b1
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/bundle/Command/GeneratePlatformSchemaCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

namespace Ibexa\Bundle\GraphQL\Command;

use Ibexa\Bundle\Core\Command\BackwardCompatibleCommand;
use Ibexa\Contracts\Core\Repository\Repository;
use Ibexa\GraphQL\Schema\Generator;
use Symfony\Component\Console\Command\Command;
Expand All @@ -18,7 +17,7 @@
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Yaml\Yaml;

class GeneratePlatformSchemaCommand extends Command implements BackwardCompatibleCommand
class GeneratePlatformSchemaCommand extends Command
{
/**
* @var \Ibexa\GraphQL\Schema\Generator
Expand Down Expand Up @@ -98,12 +97,4 @@ private function compileTypes(OutputInterface $output)
$command = $this->getApplication()->find('graphql:compile');
$command->run(new StringInput('graphql:compile'), $output);
}

/**
* @return string[]
*/
public function getDeprecatedAliases(): array
{
return ['ezplatform:graphql:generate-schema'];
}
}

0 comments on commit 7b178b1

Please sign in to comment.