drizzle-team / drizzle-team/drizzle-orm

[BUG]: Type completion not working

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

Description

### What version of `drizzle-orm` are you using?

0.33.0

### What version of `drizzle-kit` are you using?

0.24.2

### Describe the Bug

const client = drizzle(
new Pool({
connectionString: config.get('database', { infer: true }),
}),
{
schema,
},
);

client.insert(schema.user).values({
// No type completion whatsoever
});

### Expected behavior

const client = drizzle(
new Pool({
connectionString: config.get('database', { infer: true }),
}),
{
schema,
},
);

client.insert(schema.user).values({
// id: string
// email: string
});

### Environment & setup

_No response_

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.