Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions src/Symfony/Bundle/Command/GraphQlExportCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

use ApiPlatform\GraphQl\Type\SchemaBuilderInterface;
use GraphQL\Utils\SchemaPrinter;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
Expand All @@ -26,6 +27,7 @@
*
* @author Alan Poulain <[email protected]>
*/
#[AsCommand(name: 'api:graphql:export')]
class GraphQlExportCommand extends Command
{
public function __construct(private readonly SchemaBuilderInterface $schemaBuilder)
Expand Down Expand Up @@ -74,9 +76,4 @@ protected function execute(InputInterface $input, OutputInterface $output): int

return \defined(Command::class.'::SUCCESS') ? Command::SUCCESS : 0;
}

public static function getDefaultName(): string
{
return 'api:graphql:export';
}
}
Loading