-
-
Couldn't load subscription status.
- Fork 126
Closed
Labels
Description
Description and expected behavior
When using new prisma-client generator, typescript types are not generated. They are referenced in the generated models, but the types themselves are not created. Causing those fields to be any
Environment (please complete the following information):
- ZenStack version: 2.16.0
- Prisma version: 6.11.0
- Database type: postgres
Additional Context
I'm thinking that maybe we need to call generateExtraTypes for the new generator as well?
zenstack/packages/schema/src/plugins/enhancer/enhance/index.ts
Lines 479 to 483 in 9596d33
| this.transformPrismaTypes(sf, sfNew, delegateInfo); | |
| this.generateExtraTypes(sfNew); | |
| sfNew.formatText(); |