New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prisma ORM for Dart 3.0 #68
Comments
For 3.0, there are the following technical requirements:
|
It would be great to see the engine implemented in pure Dart, even if it only means supporting a subset of databases and features (postgres, sqllite?). The binary engine makes packaging and distribution harder (can't just compile a pure dart server). I suspect it would make debugging easier as well (no binary interface to cross). |
@wstrange Now the problem is, I'm an introductory Rust learner. I tried writing a dynamic engine library to make it behave better with the engine, but I couldn't solve the upstream breaking issue. This issue has already flagged how to fix the upstream breakage, and I think it will be a long time before that happens. In addition, Dart3's macro support release date is undecided, and Union-Types does not know whether it will appear in Dart 3 within this year, because it is still making proposals. Under the current limited conditions, I can only do the engine client based on maximizing parameter selection and cannot fully realize all the requirements of Prisma (unless I use Map) |
Due to the limitation of the Dart language, many functions of Prisma ORM for Dart cannot be realized, the most common ones are
select
,include
.There are many other problems:
The guesses for the v3 version are as follows:
The text was updated successfully, but these errors were encountered: