You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder why there is no native dart package for using prisma orm in dart only environment instead of relying on node js to parse and generate the code , there is no lack of code generation capabilities in dart and using node js can be troublesome , for example :
Example Scenario :
using the current prisma node js / orm package combo in a dart_frog api works fine in local host but breaks once deployed to google cloud run as the generated docker file should contain extra steps for installing and configuring node js and prisma on the cloud environment , giving errors such as : Exception: No query engine binary found (prisma-query-engine) in [/, /prisma, /.dart_tool]
The text was updated successfully, but these errors were encountered:
This requires an FFI engine. At present, Prisma interacts with the code generator through json-rpc (the code generator is written by Dart). Because the current Dart package cannot contain binary files for the time being, if it is packaged, it will inevitably lose part of prism. The function of a cli increases the complexity of the code, and it also needs to make a code that does not find the dynamic download of the engine at the runtime stage. The maintainability will deteriorate, which is not conducive to following the upgrade of the prisma engine. So I've been waiting for priama's new c engine (in the experimental stage)
I wonder why there is no native dart package for using prisma orm in dart only environment instead of relying on node js to parse and generate the code , there is no lack of code generation capabilities in dart and using node js can be troublesome , for example :
Example Scenario :
The text was updated successfully, but these errors were encountered: