return relation in nested write in prisma
I have two models that looks as such:
i'm trying to create a task, but in doing so, return the card to which it belongs. i currently have this but its returning something with the following type: so essentially its giving me the return type that i want, but nested inside of the card property. is there any way around this ?
0 Replies