I'm writing a migration script from Mongo to Postgres and I've really enjoyed using Kysely for it so far!
However, I discovered that when trying to do bulk inserts via insertInto where the input is generated using .map on an array, Kysely is unable to validate against the inferred type from the return value of the .map callback
I'm writing a migration script from Mongo to Postgres and I've really enjoyed using Kysely for it so far!
However, I discovered that when trying to do bulk inserts via
insertInto
where the input is generated using.map
on an array, Kysely is unable to validate against the inferred type from the return value of the.map
callbackPlayground Link