drizzle-team / drizzle-team/drizzle-orm

[FEATURE]: .describe("Description of the field") for the schema

Open
#4,530 2 comments 11 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Feature hasn't been suggested before.

- [x] I have verified this feature I'm about to request hasn't been suggested before.

### Describe the enhancement you want to request

`.describe("Descrtiption of the field")` just like [in Zod](https://zod.dev/?id=describe)

And then, if we open the studio, and hover over a column name, it shows the description of it too.

👍 - Let me know what do you think, if that would be useful, I could implement it myself and make a PR

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.