Skip to content

Commit

Permalink
RamseyUuid
Browse files Browse the repository at this point in the history
  • Loading branch information
laryjulien committed Nov 15, 2021
1 parent e8f2242 commit 62c6702
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<tag name="api_platform.identifier.denormalizer" priority="-100" />
</service>

<service id="api_platform.serializer.uuid_denormalizer" class="ApiPlatform\Core\Bridge\RamseyUuid\Serializer\UuidDenormalizer" public="false">
<service id="api_platform.serializer.uuid_denormalizer" class="ApiPlatform\RamseyUuid\Serializer\UuidDenormalizer" public="false">
<tag name="serializer.normalizer" />
</service>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

declare(strict_types=1);

namespace ApiPlatform\Core\Bridge\RamseyUuid\Serializer;
namespace ApiPlatform\RamseyUuid\Serializer;

use Ramsey\Uuid\Exception\InvalidUuidStringException;
use Ramsey\Uuid\Uuid;
Expand Down
3 changes: 3 additions & 0 deletions src/deprecation.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@
ApiPlatform\Core\Bridge\Elasticsearch\Util\FieldDatatypeTrait::class => ApiPlatform\Elasticsearch\Util\FieldDatatypeTrait::class,

ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\Paginator::class => ApiPlatform\Elasticsearch\Paginator::class,

// Bridge\RamseyUuid
ApiPlatform\Core\Bridge\RamseyUuid\Serializer\UuidDenormalizer::class => ApiPlatform\RamseyUuid\Serializer\UuidDenormalizer::class,

// Util
ApiPlatform\Core\Util\AnnotationFilterExtractorTrait::class => ApiPlatform\Util\AnnotationFilterExtractorTrait::class,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

declare(strict_types=1);

namespace ApiPlatform\Core\Tests\Bridge\RamseyUuid\Serializer;
namespace ApiPlatform\Tests\Bridge\RamseyUuid\Serializer;

use ApiPlatform\Core\Bridge\RamseyUuid\Serializer\UuidDenormalizer;
use ApiPlatform\RamseyUuid\Serializer\UuidDenormalizer;
use PHPUnit\Framework\TestCase;
use Ramsey\Uuid\Uuid;
use Symfony\Component\Serializer\Exception\NotNormalizableValueException;
Expand Down

0 comments on commit 62c6702

Please sign in to comment.