Closed ziimakc closed 49 minutes ago
If you install dprint it will be formatted. Regarding file naming conventions I will expose an option for that.
Regarding how Prisma does it, I'm not closed to that however it's more complex for many reasons so wouldn't prioritize it now.
You could emit to node_modules/@types/graffle-generated, but that wouldn't solve the runtime parts that still need importing for some features.
Maybe it makes sense to move generated types into
node_modules
and expose them likeprisma
does?Reasoning:
PascalCase
while backend mostly usesdash-case
for file naming.