Skip to content

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

Open
@hongkongkiwi

Description

@hongkongkiwi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions