prismix
prismix copied to clipboard
Fix one letter named fields
Hello,
I had an issue with one of my enums in my schema.prisma while mixing it with your tool. Described as follow:
Schema input:
enum collect_measure_unit {
kg
l
}
Desired output:
enum collect_measure_unit {
kg
l
}
Actual output:
enum collect_measure_unit {
kg
}
To fix this issues I edited the block renderer and edit field length filter.
I am not sure if this will impact other behaviour, why in the first place was there a 1 and not 0 ?
(I tried to run with this edit in my current setup with 3 schemas and it produced a valid schema.prisma as the output)