#Bug? No compiler errors after certain nesting depth

3 messages · Page 1 of 1 (latest)

quick niche
#

Hi,
I'm currently running into the following error: https://github.com/prisma/prisma/issues/21264 .
TLDR: Recursive Types stop throwing errors for missing properties at a certain depth. This really is a problem in my production application, we already missed some missing properties because of this...
I believe that it is a typescript bug rather than a Prisma Bug.
I've made an up-to-date reproduction https://github.com/hrueger/ts-missing-errors . Does anyone have an opinion on this? I'm happy to create an Issue Report on GitHub, but I wanted to first ask here.
Thanks in advance!

GitHub

Bug description I have created a schema that essentially goes Post -> User -> Profile. I then create a function that accepts a post BUT filters that values of the Profile like so: https://git...

GitHub

Contribute to hrueger/ts-missing-errors development by creating an account on GitHub.

static viper
quick niche
#

OK, I guess we have to live with it then. I'll read through the issue conversation and see if there are any workarounds / patches. Thanks anyway!