drizzle-team / drizzle-team/drizzle-orm
[BUG]: D1 Driver Issue after update - Cloudflare D1 not supported through binding anymore?
- 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.38.2
### What version of `drizzle-kit` are you using?
0.30.1
### Other packages
drizzle-zod 0.6.0
### Describe the Bug
After Updating drizzle-kit & -orm i have two new type errors in my drizzle.config.ts:
This is how it used to be before:
The whole point of using d1 driver with wrangler.toml binding is what there don't have to be any external API call with tokens etc when accessing the database. With the "new" d1-http i cannot reference cloudflare's d1 binding, but have to give token key etc. Is there a reason this was taken away?
Contributor guide
Assessment
This issue has not been assessed yet.