-
-
Notifications
You must be signed in to change notification settings - Fork 688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]:strange bug #1089
Comments
There is an problem in typescript.config.ts export const your table name = pgTable(
"users",
<Record<string,PgColumnBuilder>><unknown>{
//... define your schema
}); 👨🔧 |
You can try turning off type script compilation {
"Strict": false,
} |
I would suggest downgrading to 0.28.2 for now vs. setting strict: false |
Hi @AndriiSherman. I'm using 0.29.4, but I've experienced the same issue. |
@dankochetov looks like the same type of error in 0.32.1, if I remove .primaryKey() everything is fine: |
Same issue in 0.33.0 |
What version of
drizzle-orm
are you using?0.28.3
What version of
drizzle-kit
are you using?No response
Describe the Bug
https://github.com/EDGEX3/edgex-api
Expected behavior
It doesn't accept schema
Environment & setup
Typescript
Node.js,
progress
https://github.com/EDGEX3/edgex-api
The text was updated successfully, but these errors were encountered: