Skip to content

Commit 7606486

Browse files
committed
chore(graphql): Change namespace to ApiPlatform\GraphQl
1 parent d22ec5f commit 7606486

File tree

69 files changed

+213
-150
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+213
-150
lines changed

src/Core/Bridge/Doctrine/EventListener/PublishMercureUpdatesListener.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
use ApiPlatform\Core\Bridge\Symfony\Messenger\DispatchTrait;
2020
use ApiPlatform\Core\Exception\InvalidArgumentException;
2121
use ApiPlatform\Core\Exception\RuntimeException;
22-
use ApiPlatform\Core\GraphQl\Subscription\MercureSubscriptionIriGeneratorInterface as GraphQlMercureSubscriptionIriGeneratorInterface;
23-
use ApiPlatform\Core\GraphQl\Subscription\SubscriptionManagerInterface as GraphQlSubscriptionManagerInterface;
2422
use ApiPlatform\Core\Util\ResourceClassInfoTrait;
23+
use ApiPlatform\GraphQl\Subscription\MercureSubscriptionIriGeneratorInterface as GraphQlMercureSubscriptionIriGeneratorInterface;
24+
use ApiPlatform\GraphQl\Subscription\SubscriptionManagerInterface as GraphQlSubscriptionManagerInterface;
2525
use ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface;
2626
use Doctrine\Common\EventArgs;
2727
use Doctrine\ODM\MongoDB\Event\OnFlushEventArgs as MongoDbOdmOnFlushEventArgs;

src/Core/Bridge/Symfony/Bundle/Command/GraphQlExportCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
namespace ApiPlatform\Core\Bridge\Symfony\Bundle\Command;
1515

16-
use ApiPlatform\Core\GraphQl\Type\SchemaBuilderInterface;
16+
use ApiPlatform\GraphQl\Type\SchemaBuilderInterface;
1717
use GraphQL\Utils\SchemaPrinter;
1818
use Symfony\Component\Console\Command\Command;
1919
use Symfony\Component\Console\Input\InputInterface;

src/Core/Bridge/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@
3333
use ApiPlatform\Core\DataProvider\SubresourceDataProviderInterface;
3434
use ApiPlatform\Core\DataTransformer\DataTransformerInitializerInterface;
3535
use ApiPlatform\Core\DataTransformer\DataTransformerInterface;
36-
use ApiPlatform\Core\GraphQl\Error\ErrorHandlerInterface;
37-
use ApiPlatform\Core\GraphQl\Resolver\MutationResolverInterface;
38-
use ApiPlatform\Core\GraphQl\Resolver\QueryCollectionResolverInterface;
39-
use ApiPlatform\Core\GraphQl\Resolver\QueryItemResolverInterface;
40-
use ApiPlatform\Core\GraphQl\Type\Definition\TypeInterface as GraphQlTypeInterface;
36+
use ApiPlatform\GraphQl\Error\ErrorHandlerInterface;
37+
use ApiPlatform\GraphQl\Resolver\MutationResolverInterface;
38+
use ApiPlatform\GraphQl\Resolver\QueryCollectionResolverInterface;
39+
use ApiPlatform\GraphQl\Resolver\QueryItemResolverInterface;
40+
use ApiPlatform\GraphQl\Type\Definition\TypeInterface as GraphQlTypeInterface;
4141
use Doctrine\Common\Annotations\Annotation;
4242
use phpDocumentor\Reflection\DocBlockFactoryInterface;
4343
use Ramsey\Uuid\Uuid;

src/Core/Bridge/Symfony/Bundle/Resources/config/graphql.xml

Lines changed: 35 additions & 35 deletions
Large diffs are not rendered by default.

src/Core/Bridge/Symfony/Bundle/Resources/config/graphql_mercure.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<services>
88

9-
<service id="api_platform.graphql.subscription.mercure_iri_generator" class="ApiPlatform\Core\GraphQl\Subscription\MercureSubscriptionIriGenerator">
9+
<service id="api_platform.graphql.subscription.mercure_iri_generator" class="ApiPlatform\GraphQl\Subscription\MercureSubscriptionIriGenerator">
1010
<argument type="service" id="router.request_context" />
1111
</service>
1212

src/Core/Test/DoctrineMongoDbOdmFilterTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
namespace ApiPlatform\Core\Test;
1515

1616
use ApiPlatform\Core\Bridge\Doctrine\MongoDbOdm\Filter\FilterInterface;
17-
use ApiPlatform\Core\Tests\Fixtures\TestBundle\Document\Dummy;
17+
use ApiPlatform\Tests\Fixtures\TestBundle\Document\Dummy;
1818
use Doctrine\ODM\MongoDB\DocumentManager;
1919
use Doctrine\ODM\MongoDB\Repository\DocumentRepository;
2020
use Doctrine\Persistence\ManagerRegistry;

src/Core/Test/DoctrineOrmFilterTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\FilterInterface;
1717
use ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGenerator;
18-
use ApiPlatform\Core\Tests\Fixtures\TestBundle\Entity\Dummy;
18+
use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy;
1919
use Doctrine\ORM\EntityRepository;
2020
use Doctrine\Persistence\ManagerRegistry;
2121
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;

src/Core/GraphQl/Action/EntrypointAction.php renamed to src/GraphQl/Action/EntrypointAction.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111

1212
declare(strict_types=1);
1313

14-
namespace ApiPlatform\Core\GraphQl\Action;
14+
namespace ApiPlatform\GraphQl\Action;
1515

16-
use ApiPlatform\Core\GraphQl\Error\ErrorHandlerInterface;
17-
use ApiPlatform\Core\GraphQl\ExecutorInterface;
18-
use ApiPlatform\Core\GraphQl\Type\SchemaBuilderInterface;
16+
use ApiPlatform\GraphQl\Error\ErrorHandlerInterface;
17+
use ApiPlatform\GraphQl\ExecutorInterface;
18+
use ApiPlatform\GraphQl\Type\SchemaBuilderInterface;
1919
use GraphQL\Error\Debug;
2020
use GraphQL\Error\DebugFlag;
2121
use GraphQL\Error\Error;

src/Core/GraphQl/Action/GraphQlPlaygroundAction.php renamed to src/GraphQl/Action/GraphQlPlaygroundAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
declare(strict_types=1);
1313

14-
namespace ApiPlatform\Core\GraphQl\Action;
14+
namespace ApiPlatform\GraphQl\Action;
1515

1616
use Symfony\Component\HttpFoundation\Request;
1717
use Symfony\Component\HttpFoundation\Response;

src/Core/GraphQl/Action/GraphiQlAction.php renamed to src/GraphQl/Action/GraphiQlAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
declare(strict_types=1);
1313

14-
namespace ApiPlatform\Core\GraphQl\Action;
14+
namespace ApiPlatform\GraphQl\Action;
1515

1616
use Symfony\Component\HttpFoundation\Request;
1717
use Symfony\Component\HttpFoundation\Response;

0 commit comments

Comments
 (0)