Closed michael-land closed 4 months ago
Thanks for reporting! I'll jump on this immediately.
This feels like a TypeScript limitation, because I'm not sure why these behave differently...
Anyway, I'll find a solution. Be back soon.
Edit: Found a 3-day-old TypeScript issue about this: https://github.com/microsoft/TypeScript/issues/57650
Not the most beautiful thing, but it works! Expect a new version within ~15 minutes (I hope, if I don't have to extend the TypeScript generator).
Released in 0.13.1
!
Upgrading from version 0.11 to 0.13 results in an error related to the PostgreSQL array type. Generated array type changed from
T[]
toArrayType<T>
code
screenshots
![CleanShot 2024-03-07 at 23 50 08@2x](https://github.com/RobinBlomberg/kysely-codegen/assets/33362998/54cd48c0-9cc3-4aef-8b37-b4b7675df74e)
Upvote & Fund