Closed cinan closed 1 year ago
See release notes: https://github.com/MichalLytek/typegraphql-prisma/releases/tag/v0.23.1
Adding support for preview features requires small or big changes in the typegraphql prisma generator. Please be patient and wait for it 😉
Describe the Bug
Hello!
I enabled
previewFeatures = ["clientExtensions"]
ingenerator client ...
section inschema.prisma
file. Now I can't generate typegraphql types, I get this cryptic error:To Reproduce
yarn prisma generate
Expected Behavior
No crash.
Environment (please complete the following information):
16.18.1
typegraphql-prisma
version0.23.1
4.7.1
4.9.3
Additional Context
As a workaround I first generate typegraphql types without
previewFeatures
option, then I comment thegenerator typegraphql
and enablepreviewFeatures
and generate again.