drizzle-orm icon indicating copy to clipboard operation
drizzle-orm copied to clipboard

[All] Fix: mapWith in extras not being applied

Open Angelelz opened this issue 1 year ago • 1 comments

close #1157

This will also help workaround #820 but more work will be needed to fully fix.

  • Used the decoder passed to SQL columns defined in extras to the correct location when defining the correct alias for the column.
  • Added integration tests.

To fix #820, using this PR, the user will have to manually cast the decimal value to char, similar to the implemented fix in #1688.

Angelelz avatar Dec 24 '23 06:12 Angelelz

Any chance we can get this merged? I'm running into the issue described in #1157 too.

DanielBaulig avatar May 11 '24 00:05 DanielBaulig

Please release this!

benkingcode avatar Aug 21 '24 14:08 benkingcode