janglad
PPrisma
•Created by vanHessler on 3/27/2025 in #help-and-questions
Prisma Select TypeError
so maybe missing smth but this makes sense to me 😄
8 replies
PPrisma
•Created by vanHessler on 3/27/2025 in #help-and-questions
Prisma Select TypeError
if the second object can have select.Baz be undefined it doesn't matter if select.Baz.select is defined in the first object you spread, it will still be typed as optional
8 replies
PPrisma
•Created by vanHessler on 3/27/2025 in #help-and-questions
Prisma Select TypeError
is this not just because when spreading object keys only get merged on level deep (and so types do too?)
8 replies