drizzle-team / drizzle-team/drizzle-orm

[FEATURE]: Deprecate the `.$dynamic()` method and rename it to `.$unsafe()`

Open
#1,803 4 comments 4 reactions 0 assignees View on GitHub
enhancement priority qb/crud
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Describe what you want

There has been a lot of confusion around the purpose and usage of the `.$dynamic()` method. For example [see here](https://github.com/drizzle-team/drizzle-orm/discussions/1736), [here](https://github.com/drizzle-team/drizzle-orm/issues/1644), [here](https://discord.com/channels/1043890932593987624/1196588660917800990) and [here](https://discord.com/channels/1043890932593987624/1190425992007798975) for some examples.
'unsafe` is a name that will portray a "be careful" meaning to it, instead of a "do more with this" meaning.

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.