Error with correct Model
I getting as problem in IDE
TS2353: Object literal may only specify known properties, and 'canal' does not exist in type 'PostSelect<DefaultArgs>'
and error (it's lower)
and my error (unrelated to discordx and discordjs):
I don't know how to fix this because i started using Prisma a day before yesterday but i checked all and ran commands prisma generate
& prisma db push
PS: in database canal
field appeared
Prisma version: 5.13.0
7 Replies
Hi @s3nkwr
How are you using the type
PostSelect<DefaultArgs>
in your code?post?.canal
? Or is this not it?No it isn't. I mean did you use the type
PostSelect<DefaultArgs>
anywhere in your code.no
can you share the repository so i can take a look?
ok i fixed this
Solution
i just had
output
in my scheme