Open blaykelarue opened 11 months ago
I am receiving numerous typescript errors because the file import declarations are incorrect. What I should be seeing:
import { OrderEntity } from 'order_entity'; import { CurrencyCode, CheckoutTransportationMethod } from '@prisma/client'; import { Money } from './money'; import { MailingAddress } from './mailing_address';
import { OrderEntity } from 'orderentity'; import { CurrencyCode, CheckoutTransportationMethod } from '@prisma/client'; import { Money } from './money'; import { MailingAddress } from './mailingaddress';
The filenames for the types that were actually generated are order_entity.ts and mailing_address.ts, so the mismatch is problematic here.
generator prismaClassGenerator { provider = "prisma-class-generator" output = "../src/@generated/prisma-class" useSwagger = false dryRun = false }
@blaykelarue same with me. I wonder how to fix this 😢
@blaykelarue I investigated and create a PR. #73
Expected Behavior
I am receiving numerous typescript errors because the file import declarations are incorrect. What I should be seeing:
Actual Behavior
The filenames for the types that were actually generated are order_entity.ts and mailing_address.ts, so the mismatch is problematic here.
Steps to Reproduce the Problem
Specifications