Hello guys. I found an interesting question on prisma forum and I really want to know how I could solve this kind of problem. Thanks in advance.
The question:
let’s say i am creating a hackernews clone
there is a User and two kinds of post
Link post
Normal Post (Blog post)
how do I model the relationship between user and posts in sdl and query them using prisma client