Codemod.com verified
Regularly tested and maintained by our engineers and codemod expert community.
migration
byCodemod
Prisma/5/Json Protocol
Last update
Aug 15, 2024
This codemod addresses changes mentioned in Prisma's official upgrade guide related to Json Protocol changes.
Note:
There are known FNs for this codemod when in any occassion you pass an identifier (variable) that is not an array into prisma client invocations where it expects an array. This is due to the fact that the codemod is not able to infer the type of the identifier. In such cases, you will have to manually update the code. The codemod will still work for most of the cases when such calls are made with literals.
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community