drizzle-team / drizzle-team/drizzle-orm
[FEATURE]: Support for $type in js
Open
enhancement
priority
- Dominant language
- TypeScript
- Stars
- 35.8k
- Forks
- 1.6k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
### Describe what you want
Currently, the $type method for json column can only be used with typescript as it uses typescript syntax to achieve it. As a result, there is no interface to achieve the same with a schema.js file.
It would be pretty useful to have an interface with .js files
Contributor guide
Assessment
This issue has not been assessed yet.