Hi all, I'm new to coding and to Graphql, but I've...
# orm-help
b
Hi all, I'm new to coding and to Graphql, but I've been really liking it and Prisma. I had no problem with hard-coded queries, but now I'm trying to softcode some reusable filtering components and I'm finding that coding the shape of the WHERE statements is a bit challenging (I want to expose filtering on joins, reference lists, etc.). The idea is to have them accept arrays and strings of filter values and output the appropriate WHERE statements for the queries. I have ideas about how I might solve this, but I'm thinking this must have been done a thousand times before by now. Are there references or packages that address this? I could see this being a common problem, but I haven't been able to find much on it. Thanks in advance for any help--I really appreciate it.