Skip to content

Support UUIDs in PK stored in binary form #20

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

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Conversation

janedbal
Copy link
Member

@janedbal janedbal commented Jun 30, 2025

Previously:

  • MySQL was working, but emitted warnings like Invalid utf8mb4 character string (assuming utf8mb4 connection encoding)
  • SQLite was silent, but not preloading at all
  • Postgres was failing hard (Character not in repertoire: 7 ERROR: invalid byte sequence for encoding "UTF8": 0x8d)

@janedbal
Copy link
Member Author

janedbal commented Jul 1, 2025

Fix of broken ORM: doctrine/orm#12042

@janedbal janedbal marked this pull request as ready for review July 1, 2025 13:19
@janedbal janedbal requested a review from JanTvrdik August 5, 2025 08:12
@janedbal
Copy link
Member Author

Another ORM bug detected by our improved testcases: doctrine/orm#12130

use Doctrine\ORM\Mapping\MappedSuperclass;

#[MappedSuperclass]
abstract class TestEntityWithCustomPrimaryKey
Copy link
Member

Choose a reason for hiding this comment

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

This is simple enough, I think it would be lot better to inline it back to reduce code complexity.

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.

2 participants