drizzle-team / drizzle-team/drizzle-orm

[FEATURE]: Declare Standard Schema directly in the table schema definition

Open
#5,276 1 comment 1 reaction 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

Instead of always extending the table schema with schema adapters (eg Zod) let me refine the schema directly on the table definition (so I can have enum types from Zod or other types from it).
Moving from Schema adapters to Standard Schema is a great first step.

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.