Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add Symfony Uid support #3715

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 10, 2020

Conversation

norkunas
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tickets fixes #3714
License MIT
Doc PR api-platform/docs#...
  • Added support for denormalizing identifiers with symfony uuid/ulid;
  • Added ulid/uuid support to json schema;

@norkunas norkunas force-pushed the symfony-uid-support branch 9 times, most recently from b06aa3b to 88b9bb5 Compare September 10, 2020 13:23
Copy link
Member

@dunglas dunglas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@norkunas norkunas force-pushed the symfony-uid-support branch 2 times, most recently from 8ff7e03 to b49a163 Compare September 10, 2020 15:36
Copy link
Member

@alanpoulain alanpoulain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!

@alanpoulain alanpoulain merged commit 17966ce into api-platform:master Sep 10, 2020
@alanpoulain
Copy link
Member

Thanks a lot @norkunas!

@norkunas norkunas deleted the symfony-uid-support branch September 10, 2020 17:10
@alanpoulain
Copy link
Member

See also: symfony/symfony#36406.

xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

<services>
<service id="api_platform.identifier.symfony_ulid_normalizer" class="ApiPlatform\Core\Bridge\Symfony\Identifier\Normalizer\UlidNormalizer" public="false">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Wyze5280 Wyze5280 mentioned this pull request Jul 22, 2022
@@ -53,6 +53,7 @@
use Symfony\Component\Finder\Finder;
use Symfony\Component\HttpClient\HttpClientTrait;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\Uid\AbstractUid;
use Symfony\Component\Validator\Validator\ValidatorInterface;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
use Symfony\Component\Validator\Validator\ValidatorInterface;
use Symfony\Component\Validator\Validator\ValidatorInterface;

@@ -53,6 +53,7 @@
use Symfony\Component\Finder\Finder;
use Symfony\Component\HttpClient\HttpClientTrait;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\Uid\AbstractUid;
use Symfony\Component\Validator\Validator\ValidatorInterface;
use Symfony\Component\Yaml\Yaml;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
use Symfony\Component\Yaml\Yaml;
use Symfony\Component\Yaml\Yaml;

@@ -113,6 +113,8 @@ jobs:
run: |
composer global require --prefer-dist --no-progress --no-suggest --ansi \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
composer global require --prefer-dist --no-progress --no-suggest --ansi \
composer global require --prefer-dist --no-progress --no-suggest --ansi \

@@ -53,6 +53,7 @@
use Symfony\Component\Finder\Finder;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
use Symfony\Component\Finder\Finder;
use Symfony\Component\Finder\Finder;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Symfony Uid support for Json schema
5 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.