Next.js Discord

Discord Forum

prisma generate doesn't recongize composite types

Unanswered
Tonkinese posted this in #help-forum
Open in Discord
TonkineseOP
prisma generate doesn't seem to recognize this schema code:
type Foo {
  name String
}

Throws this error: "Unknown argument type. Did you mean name? Available options are marked with ?."

9 Replies

from their example:
type Address {
  street String
  city   String
  zip    String
}
the example code is using that exact type <CustomType> { } syntax
TonkineseOP
ah think I found the issue