Mikastark
10/08/2020, 10:18 AM@nexus/schema
. If you look at outputs.typegen
typedoc in SchemaConfig (makeSchema function param) it says "Set to true to enable and emit into default path ... The default path is node_modules/@types/nexus-typegen/index.d.ts." but if I set the value to true
instead of a path (like ___dirname +_ '/../node_modules/@types/nexus-typegen/index.d.ts'
), it generates nothing. I am doing something wrong or is it normal ?Ryan
10/08/2020, 10:30 AMnode_modules/@types
Ryan
10/08/2020, 10:49 AMMikastark
10/09/2020, 8:54 PMtypegen-nexus-plugin-prisma
but typegen-nexus
. As you can see on my screenshots typegen is only generated by nexus-plugin-prisma but not nexus/schema itselfRyan
10/15/2020, 8:39 AMnexus-plugin-prisma
would generate the types. For @nexus/schema
the directory is correct, but when you’re using nexus-plugin-prisma
the directory will change.