Open
Description
Report hasn't been filed before.
- 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.41.0
What version of drizzle-kit
are you using?
0.30.6
Other packages
No response
Describe the Bug
Using Gel database, with drizzle-kit Gel adapter.
Minimal reproduction
https://github.com/xerullian/drizzle-gel-enum
Problems
drizzle-kit pull
fails with aTypeError
when any Gel schema contains a custom-defined enum.
I believe this issue may have to do with drizzle-kit pull not able to reads Gel schema Enums.
drizzle-kit pull
succeeds, but creates 0 schema when types are defined within a non-default module (e.g.,module foo {}
).
I believe this issue is related to drizzle-kit pull
not reading schema in modules that are not 'module default'.
Environment
- Bun:
1.2.2
(also tested with Node v22.13.1) drizzle-kit
:0.30.6
drizzle-orm
:0.41.0
gel-cli
:7.2.0+70c7e2
- Gel Server:
6.4+4e5cda
- Gel:
2.0.2
- OS:
Nobara Linux 41 (KDE)