zenstack icon indicating copy to clipboard operation
zenstack copied to clipboard

[Feature Request]: utilize `prismaSchemaFolder` preview feature

Open sakgoyal opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. Prisma has recently added a new preview feature called prismaSchemaFolder which enabled multiple schema files and some other changes.

Describe the solution you'd like I think this should support that and maybe even require that it is enabled instead of re-creating this feature now.

Additional context https://github.com/prisma/prisma/discussions/24413

sakgoyal avatar Jul 12 '24 22:07 sakgoyal

Yea, I got to here by googling prismaSchemaFolder and zenstack

Whats the deal here?

hongkongkiwi avatar Oct 26 '24 16:10 hongkongkiwi

ZenStack still uses its own "import" syntax in the ZModel schema. It should be equivalent to Prisma's schema merging, just with a more explicit syntax (and more control).

ymc9 avatar Oct 26 '24 16:10 ymc9

It's working well ! :)

hongkongkiwi avatar Nov 02 '24 04:11 hongkongkiwi