-
Notifications
You must be signed in to change notification settings - Fork 64
UUID and ULID support #198
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
Comments
Closed
I'm facing this issue too. Adding the error I'm facing here, it might help others finding this thread:
In the meantime, thanks @misaert for your workaround 👍 |
Tangentially related: The trait needs to check how many rows were affected, otherwise this just fails silently and the link is reusable until it's cleaned up! |
Still no updates on this issue? Who can add this code (composite primary keys excluded):
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
It seems the trait
ResetPasswordRequestRepositoryTrait
does not support UUID and ULID because with Doctrine, it must add 'ulid' as the third argument to tell Doctrine that this is a ULID or alternatively, you can convert it to a value compatible with the type inferred by Doctrine (see https://symfony.com/doc/current/components/uid.html#storing-ulids-in-databases).I have to override 2 trait methods to do them work:
Did I have another solution?
Thanks a lot,
Mickaël
The text was updated successfully, but these errors were encountered: