drizzle-team / drizzle-team/drizzle-orm

[FEATURE]: Support for $type in js

Open
#2,298 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.