Skip to content

Symfony Uid support for Json schema #3714

Closed
@norkunas

Description

@norkunas

Description

Since Symfony 5.1 the Uid component was introduced and when relying only on it instead of ramsey/uuid,
wrong schema is generated, because it detects it as an object instead of string:uuid.
There is a pull request to symfony for Uid normalizer https://github.com/symfony/symfony/pull/36406/files,
but there are two missing pieces:

  • symfony/uid identifier normalizer;
  • json schema to support uuid/ulid;

I can open separate PR's for both of these, but we should decide if the second point is a bugfix or a new feature?

Example
none

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions