Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import * as imports from "../null" zod-prisma #116

Open
kevinmamaqi opened this issue Apr 27, 2022 · 2 comments
Open

import * as imports from "../null" zod-prisma #116

kevinmamaqi opened this issue Apr 27, 2022 · 2 comments

Comments

@kevinmamaqi
Copy link

kevinmamaqi commented Apr 27, 2022

When I run the generator zod includes the following after zod import:

import * as z from "zod"
import * as imports from "../null"
...

Am I missing something? This is my generator zod:

generator zod {
  provider                 = "zod-prisma"
  output                   = "./zod"
  relationModel            = true 
  modelCase                = "camelCase"
  modelSuffix              = "Model"
  useDecimalJs             = true
  imports                  = null 
  prismaJsonNullability    = true 
}
@GaelS
Copy link

GaelS commented May 17, 2022

Removing imports = null seems to remove that issue

@MoSattler
Copy link

same problem here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants