mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
IDENTITY() function hydrate data as string even if entity is configured as int #6546
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jdeniau on GitHub (Sep 22, 2020).
Given the following request
The return will be :
The cart id is hydrated as a string, but should be an integer.
If I changed the request to this:
The result is a int (which is normal)
@SenseException commented on GitHub (Sep 22, 2020):
There's a PR that handles this issue: #8025
@jdeniau commented on GitHub (Sep 22, 2020):
@SenseException Great ! I looked in the issues but not in the PR.
I keep it open the time this PR is merged to avoid anyone to open the same issue 😉
@SenseException commented on GitHub (Sep 22, 2020):
If you don't mind I'll close this issue because it's a duplicate of #4641.
Still: Thank you for taking your time to report this.