Prisma views (for MongoDB) with composite types causes Engine Panic
Hi,
It seems that Composite types are not supported anymore(?) in prisma views with MongoDB
I was upgrading my codebase from Prisma version from 5.19.0 to 6.13.0, I used the upgrade guide on the website.
When trying out my application I discovered that views with a composite type (any non string, date, int etc. but type {...}) throws an Engine Panic.
Commenting out those fields in the schema results in a working engine again.
I have 2 views in my app
Flat view:
Non working view (with types):
Using the old prisma version this worked perfectly however after migrating to the newest version I get an Engine Panic:
I could not find any reference to this change in the upgrade migration guide. I'm wondering if I'm overlooking something or if this is now not supported anymore in views?
It seems that Composite types are not supported anymore(?) in prisma views with MongoDB
I was upgrading my codebase from Prisma version from 5.19.0 to 6.13.0, I used the upgrade guide on the website.
When trying out my application I discovered that views with a composite type (any non string, date, int etc. but type {...}) throws an Engine Panic.
Commenting out those fields in the schema results in a working engine again.
I have 2 views in my app
Flat view:
Non working view (with types):
Using the old prisma version this worked perfectly however after migrating to the newest version I get an Engine Panic:
I could not find any reference to this change in the upgrade migration guide. I'm wondering if I'm overlooking something or if this is now not supported anymore in views?