foobar
foobar
PPrisma
Created by foobar on 5/16/2024 in #help-and-questions
In a Prisma result extension, is it possible to require ("needs") a relation?
Hi! I love extensions, in particular result extensions that I use extensively! For now, I use it only with fields that belong directly to the model, but I often want to "require" (the "needs" field) fields that are in a relation. Is that possible? I managed to make it work, but typescript is not happy about it :/ Do you have any solution? Thanks a lot!
3 replies