Closed dutrapaulovm closed 10 months ago
Using Prisma CLI 4.x version
I'm using prisma 5.2.0
I'm using prisma 5.2.0
Unfortunately, Prisma for Dart does not currently support Prisma 5.x version (due to huge changes). Also you should see my tweets, I am now committed to my normal life due to the bankruptcy of my company. I'm really sorry, I don't know when I will have time to come back and continue to maintain it, but I have always paid attention to this project. Once I get my debt out of the way, I'll go back to open source and continue maintaining Prisma for Dart.
What version of Prisma can I use?
What version of Prisma can I use?
Prisma 4.x in your package.json
What version of Prisma can I use?
Prisma 4.x in your
package.json
Thanks!!!
same issue , resolved by downgrading to 4.16.0
I think this is a duplicate of #249
@medz I've seen that this is tagged as a good first issue. I'm interested in CONTRIBUTING for the first time in this project, are there any instructions, recommendations and pointers to set everything up locally?
I think this is a duplicate of #249
@medz I've seen that this is tagged as a good first issue. I'm interested in CONTRIBUTING for the first time in this project, are there any instructions, recommendations and pointers to set everything up locally?
@alestiago That's really great, but at the moment I can't provide a more detailed way to get involved in the project. Because this is an exploratory process, let me briefly explain how I developed this project:
Problems encountered with this version now:
Information to help you get started quickly:
https://github.com/prisma/prisma/tree/main/packages/engines
That's right, it's the source code of Prisma's official client.
@alestiago The local setting of this project is also very simple:
That's all. You can run npx prisma generate --watch
directly at the project root to test the generator. If you want to verify the API availability, you can usually run it again in example.
Another challenge in making CRUD ORM in Dart is Union-Type. I have been waiting for this feature, so now the input production code of multiple types becomes very complicated.
@medz thank you for the information provided. I will let you know if I give it a go and raise a Pull Request when ready 🙌 . Regarding your debt problem, are you open to sponsorships to continue the development/maintenance of Prisma-Dart?
@alestiago It is difficult to make money from open source and the user base of Prisma Dart is too small, especially since I am in an environment where capital is not optimistic about technology entrepreneurship. It's difficult to solve my debt problem through sponsorship, you know, the amount of money required for a company is huge. In the two months since Prisma Dart stopped updating, I have settled nearly 1 million in debt, and I think I will need another month or two. When I completely pay off my debt, I will give up entrepreneurship and find a job, and then use my spare time every day to maintain this project.
Also, I look forward to your PR requests. Because I like Dart very much, I have never planned to give up this project and want to maintain it. When you notify me that you can review, I will deal with it as soon as possible.
@medz thank you for the information provided. I will let you know if I give it a go and raise a Pull Request when ready 🙌 . Regarding your debt problem, are you open to sponsorships to continue the development/maintenance of Prisma-Dart?
A big project waiting here! 😃 @alestiago thanks in advance!
I'm actively developing a new version to adapt to Prisma 5
@medz that's great news! I've haven't started that on my end yet. Is there a branch I can track your changes?
@medz that's great news! I've haven't started that on my end yet. Is there a branch I can track your changes?
main
branch, main is dev branch and latest version branch. 3.x is old version branch.
After a few days of research, I discovered that Prisma caused so much change that a new version was almost equivalent to a rewrite. But I will try to reduce the difficulty of migration as much as possible, and the API will not change much. But a lot of things will be built into it that are better suited to the Dart language, not just a clone of the Prisma JS/TS client.
I donwgraded to 4.16 and i get a different error
I get the error "Could not find query engine for platform darwin"
Is the because there's is not compatible to m1 silicon chip in my macbook?
I donwgraded to 4.16 and i get a different error
I get the error "Could not find query engine for platform darwin"
Is the because there's is not compatible to m1 silicon chip in my macbook?
You try reinstalling prisma, because I have limited energy alone. In order to keep up with prisma quickly, I haven't found any problems with the v3.x version. Because the update of prismna 5.x is too big.
Report the progress:
I'm developing the JSON protocol enabled by Prisma 5 and I'd like to hear your opinions on the final API build.
I'd like to hear your opinions on the final API build
A question with a more limited reply context could help a bit :)
@AndryHTC @dutrapaulovm @alestiago Fixed, The 3.x version will be updated later
I was following this Prisma Dart tutorial: https://prisma.pub/docs/getting-started.html And,
After executing the npx prisma db push command, the following error is generated:
My prisma.schema