I’m a beginner, half a day I’ve been racking my brains, I can’t think of how to make a request
type Review {
id: ID!
userId: User!
productId: Product!
rate: Int!
buyTime: DateTime! @search
comment: String
dignity: String
flaws: String
conclusion: String
}
My wrong option -
query MyQuery($filter: ProductFilter) {
queryReview {
productId(filter: $filter) {
id
}
buyTime
comment
dignity
flaws
conclusion
id
rate
userId{
user_name
}
}
}
Need to do queryReview filtered by productId
Please help!!!