graphql-nexus / nexus-plugin-prisma

Deprecated
MIT License
829 stars 118 forks source link

Question: typegen-nexus-plugin-prisma is recompiled #864

Open reflash opened 4 years ago

reflash commented 4 years ago

I have an issue deploying an app with nexus plugin used for prisma. I build my code, but then @types/typegen-nexus-plugin-prisma/index.d.ts is recreated during the build it seems. This triggers my deployment to rebuild again because it detects a file change. Is there any workaround for this?

[27/09/2020 10:26:45] Warning: t.crud is an experimental feature with many practical limitations. You must explicitly enable it before using.
[27/09/2020 10:26:45] Please add experimentalCRUD: true in the nexusSchemaPrisma() constructor if you still wish to enable it.
[27/09/2020 10:26:45] Watched directory change of type 'Deleted' detected for '/<...>/node_modules/@types/typegen-nexus-plugin-prisma/index.d.ts'
[27/09/2020 10:26:45] Host configuration has changed. Signaling restart
[27/09/2020 10:26:45] Watched directory change of type 'Changed' detected for '/<...>/node_modules/@types/typegen-nexus-plugin-prisma/index.d.ts'
haysclark commented 3 years ago

I believe this issue is fixed in nexus-plugin-prisma 0.21.0