Closed TimMikeladze closed 2 years ago
I suspect this is caused by the changes made in 1.15 that attempt to extract default values.
Try with 1.14 and see if it still happens while I investigate.
1.14 works as expected.
Should be fixed in release 1.15.1.
Should be fixed in release 1.15.1.
Thank you!
When running the CLI tool to generate types, the generated interface has multiple duplicate fields generated. I've included examples of my config and output below. My Postgres version is
PostgreSQL 14.4 (Debian 14.4-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
and I'm using version1.15.0
of the@rmp135/sql-ts
package.cli command
sql-ts.json
table schema
generated types