Option to disable $dynamic() requirement for query building #1521
Replies: 2 comments 4 replies
-
Hey @anthonyma94. Thank you for putting this write up together with the bad experience you had updating your drizzle to the latest version.
You can do this by file or by folder, making sure you're reviewing everything. |
Beta Was this translation helpful? Give feedback.
-
Hey @anthonyma94! Thanks a lot for your feedback and detailed thoughts about Drizzle. We totally agree with you, and let me explain our plan a bit (which we will also duplicate in the docs, Discord, etc.). It seems to be very important information for users, and we don't have any words about it anywhere. The downside for you as a user of production apps The upside for you
With all of that, we see Drizzle ORM and Drizzle Kit as 1.0 and plan to add new features on top of it. We will also implement proper semantic versioning afterward, with breaking changes only in major releases. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been one of the early adapters for drizzle-orm and it has been mostly a positive experience. However, the new requirement for adding
$dynamic()
has me thinking about whether I should really continue with such a young library.About 80% of the queries I have in my project are with custom query builders, a feature carried over when I was still using Knex. I have since migrated all queries from to drizzle-orm, while keeping the custom query builders. This new requirement is a complete breaking change for me, one introduced in what's supposed to be a minor update.
Now I understand that I am probably in the minority in terms of using custom query builders, but I shouldn't have to deal with breaking changes for a minor update. If this library is to be used in a production environment, new features have to complement the existing codebase. Right now, I am stuck with v0.28.x until we find the time to change every query, which is unacceptable in my opinion.
For this specific feature, please create an option to disable it and revert to v0.28 behavior. In the long term, I implore the team to think more deeply about how changes will affect current users. I will have no choice but to switch to something else if this continues.
Beta Was this translation helpful? Give feedback.
All reactions