mohammed-bahumaish / prisma-editor

Prisma Editor - A powerful tool to visualize and edit Prisma Schema.
https://prisma-editor.vercel.app
844 stars 65 forks source link

fix: generator settings disappear #35

Closed MOhhh-ok closed 2 months ago

MOhhh-ok commented 11 months ago

Hi, thanks for great service.

I use @vegardit/prisma-generator-nestjs-dto, and write schema like below.

generator nestjsDto {
  provider      = "prisma-generator-nestjs-dto"
  entityPrefix  = "Entity"
}

But after using this tool, The data is changed as

generator nestjsDto {
    provider      = "prisma-generator-nestjs-dto"
    binaryTargets = ["rhel-openssl-1.0.x", "rhel-openssl-1.0.x"]
}

Is there any way to hold my nestjsDto?

mohammed-bahumaish commented 11 months ago

will fix that soon, thanks for reporting! @MOhhh-ok