You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I generally try to avoid Array Hydration, but I agree that this should work nonetheless. If you use standard object hydration (default) is there any issue?
Bug Report
When I have a query:
Then
$result[0]['orderStatus']
is instance of BackendEnum OrderStatus.But when I have a query:
Then
$result[0]['orderStatus']
is simple string.Our Order entity field:
Summary
It should be the same result for both cases.
Current behavior
SELECT o
retuns string,SELECT o.orderStatus
returns the BackendEnumHow to reproduce
Use entity as described and fetch from query builder as an array.
Expected behavior
SELECT o
returns an array that contains BackendEnum.for ref: #9622
The text was updated successfully, but these errors were encountered: