drizzle-team / drizzle-team/drizzle-orm

[FEATURE]: Infer all Kysely tables from drizzle schema

Open
#2,208 0 comments 0 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

### Describe what you want

Currently as per [drizzle-orm/src/kysely](https://github.com/drizzle-team/drizzle-orm/tree/main/drizzle-orm/src/kysely), we have to manually specify each and every drizzle table that we want to include in Kysely.

Having fully typed Kysely tables from Drizzle schema would be useful.

I have a working implementation for the same.

Contributor guide

Open the contributing guide

Research direction

Start by reading the existing integration under drizzle-orm/src/kysely and the working implementation referenced in the issue. Determine how table types are currently specified and what is needed to infer every Drizzle schema table for Kysely; done means all schema tables are fully typed without manual inclusion.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.