GK Palem
GK Palem
WWasp-lang
Created by GK Palem on 11/2/2024 in #đŸ™‹questions
multiSchema error: Error validating model "Session": This model is missing an `@@schema` attribute.
Trying to use multiSchema feature in the Prisma file to organize the models.
generator client {
provider = "prisma-client-js"
previewFeatures = ["multiSchema"]
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["multiSchema"]
}
Looks like Wasp has some internal models that do not have @@schema tagged. Wondering what is the work around? Is there a way we can pass the schema to be used for the internal models? Or any other work around ?
6 replies