Prisma enum causes maximum call stack size exceeded.
queryType on operation model is causing stack overflow when 'prisma generate' or 'prisma db push'.
So soon as I remove it and replace data type to something like String, everything's okay.
How do I fix this if not get rid of this enum?
![](https://cdn.answeroverflow.com/1135613200784691200/telegram-cloud-photo-size-2-5350651840993282238-w.jpg)
2 Replies
If you want to try for yourself:
Solution
Okay, It was fixed in 5.1.0, apparently.