paljs / prisma-tools

Prisma tools to help you generate CRUD system for GraphQL servers
https://paljs.com
MIT License
679 stars 55 forks source link

Convert to Camel case breaks when tables start with same name #319

Open kevintraver opened 8 months ago

kevintraver commented 8 months ago

In the original schema:

  current_loan_value  Decimal
  current_loan        Boolean

when running pal schema camel-case it becomes:

  currentLoanValue    Decimal  @map("currentLoan_value")
  currentLoan         Boolean  @map("current_loan")