drizzle-team / drizzle-team/drizzle-orm
[BUG]: insane cannot set with to false
- Dominant language
- TypeScript
- Stars
- 35.8k
- Forks
- 1.6k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
### Report hasn't been filed before.
- [x] I have verified that the bug I'm about to report hasn't been filed before.
### What version of `drizzle-orm` are you using?
^0.39.2
### What version of `drizzle-kit` are you using?
^0.30.1
### Other packages
_No response_
### Describe the Bug

this is crazy and unexpected, we should be able to set to false even if TS doesn't play nice with it, I am sure TS can find a way to work...
it only accepts true, or nothing
```
TS2322: Type false is not assignable to type
true | DBQueryConfig<"many", false, ExtractTablesWithRelations<{ UpdateVersionsTable: PgTableWithColumns<{ name: "update_versions"; schema: undefined; columns: { id: PgColumn<{ name: "id"; tableName: "update_versions"; dataType: "string"; columnType: "PgUUID"; ... 10 more ...; generated: undefined; }, {}, {}>; ... 6...
```
Contributor guide
Assessment
This issue has not been assessed yet.