zenstack
zenstack copied to clipboard
[Bug] Typed JSON arrays do not work with trpc plugin enabled
Description and expected behavior See discord thread here: https://discord.com/channels/1035538056146595961/1315031502593196162
When using typed JSON arrays and running zenstack generate errors are produced with the trpc plugin enabled. Disabling the plugin generates just fine.
The solution to this is either disable the trpc plugin OR use the typed json type as a single item instead of an array. In either case it resolves the problem, however I expect these to work together.
Environment (please complete the following information):
- ZenStack version: 2.11.0
- Prisma version: 6.1.0
- Database type: Postgresql