Skip to content
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

Feat: Prisma 4 Support #267

Open
zackdotcomputer opened this issue Nov 25, 2022 · 1 comment
Open

Feat: Prisma 4 Support #267

zackdotcomputer opened this issue Nov 25, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@zackdotcomputer
Copy link

zackdotcomputer commented Nov 25, 2022

Currently the package generated by this tool is built against Prisma 3.

Prisma 4 is now mature and so this package should either be deprecated or updated to support Prisma 4. This will mostly likely require ditching the exported logger object from @prisma/sdk in favor of using console.log directly. (Logger is only a chalk-colored wrapper around a vanilla log function)

@zackdotcomputer zackdotcomputer added the enhancement New feature or request label Nov 25, 2022
@YassinEldeeb
Copy link
Owner

Hey,

yes, this indeed is still using Prisma 3 which is inconvenient. updating the generated boilerplate dependencies for Prisma wouldn't be hard though. I'll see when I have time to update it but surely it's not and won't be considered deprecated because of old prisma dependencies. in fact you can just use it and migrate to prisma v4 yourself after generating the project boilerplate which shouldn't take a few minutes.

PRs are welcome though on making this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants