Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Typed JSON arrays do not work with trpc plugin enabled #1948

Open
hongkongkiwi opened this issue Jan 7, 2025 · 0 comments
Open

[Bug] Typed JSON arrays do not work with trpc plugin enabled #1948

hongkongkiwi opened this issue Jan 7, 2025 · 0 comments

Comments

@hongkongkiwi
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant