drizzle-team / drizzle-team/drizzle-orm
[BUG]: Callback where incompatible with moduleResolution: nodenext on tsconfig
- 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.4.5
### What version of `drizzle-kit` are you using?
0.31.8
### Other packages
_No response_
### Describe the Bug
I used drizzle orm on project with framework nestjs,
when used query with condition,
i use callback where, like this:
``` public findUserByEmail(email: string) {
return this.db.query.users.findFirst({
where: (users, { eq }) => eq(users.email, email),
});
}
```
that code can't running, cause in the file tsconfig is:
"moduleResolution": "nodenext",
Contributor guide
Assessment
This issue has not been assessed yet.