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
After some research, Laravel doesn't support eager load relationship aliasing unfortunatelly (I didn't pay attention previously on that one). Without that I don't think this is even possible, isn't it?
I think @crissi is referring to #612 which was triggered by #604
Closing it for either a shortcoming we're not able to overcome and/or duplicate of #604
To OP: though I see you already made tests, I'm happy to include tests which assert the "undesired" state which in case in the future this gets fixed and those tests then break, serving as a reminder to update them.
Versions:
Description:
Querying same relationship twice with alias fails. I wrote test for it.
Steps To Reproduce:
See test
See output
If i change query to: (basically removing
nonflagged
)... and change expected result to:
test passes. Is it really a bug or am I missing something? :)
The text was updated successfully, but these errors were encountered: