The current version does not support correctly generating binary data types (Bytes).
Attempting to add a Bytes data type into the schema.prisma and then run npx prisma generate results in errors in the generated classes that have Bytes.
I added a 'Bytes' to 'Buffer' case in the getTSDataTypeFromFieldType() function in helpers.js, and this resolved the error correctly.
No import needed since Buffer is a globally supported type.
The current version does not support correctly generating binary data types (Bytes).
Attempting to add a Bytes data type into the schema.prisma and then run npx prisma generate results in errors in the generated classes that have Bytes.
I added a 'Bytes' to 'Buffer' case in the getTSDataTypeFromFieldType() function in helpers.js, and this resolved the error correctly.
No import needed since Buffer is a globally supported type.