Open nettrino opened 9 months ago
This is likely because the Prisma version is outdated, I haven't published a new release for the last couple Prisma versions. Could you try installing prisma-client-py from GitHub?
I'll hopefully be able to publish to pypi soon.
Problem
I am using the python prisma client in a project that uses a shared schema. That shema has the preview feature
relationJoins
enabled, which breaks prisma generate:I am not currently using that feature in my codebase, and would rather not have to be forced to modify the schema on the fly if I can avoid it, especially since it is not used in this generate.
The schema generators are as follows:
Suggested solution
Allow prisma generate to proceed with a warning / force flag if the feature is not used in teh python provider