Open oscarhermoso opened 11 months ago
We also just hit this on drizzle-orm
0.29.3
and drizzle-kit
0.20.13
.
š $50 bounty created by john-griffin š To claim this bounty, submit your pull request on Algora š Before proceeding, please make sure you can receive payouts in your country šµ Payment arrives in your account 2-5 days after the bounty is rewarded šÆ You keep 100% of the bounty award š Thank you for contributing to drizzle-team/drizzle-orm!
š Add a bounty ā¢ Share on socials
/attempt #1603
We just hit this bug in 0.28.6
. I tried upgrading to version 0.29.3
but to no avail. Our work-around for now is to only load fields at the top-level. And then manually map over the results to convert them into the nested structure.
Also just hit this. Still present in 0.29.4 ā¹ļø
What version of
drizzle-orm
are you using?0.29.1
What version of
drizzle-kit
are you using?0.19.12
Describe the Bug
The output of this PostgreSQL select query has a
null
value for thebranding
property. However, there was a successful join in the database.Furthermore, if the order of the
panelBackground
andlogo
properties are swapped, the query works as expected.Expected behavior
After swapping
panelBackground
andlogo
in the query, this is the (correct) value oforg
Environment & setup
It's not a problem with the generated query, because when I execute in pgAdmin, it returns results.
Versions
v3.3.5
PostgreSQL 14.8 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0, 64-bit
v18.17.0