0

I have a query which gives me the list of projects for which I am using project schema. I want to get the count of repeated users across the projects for which I am calling a function getRepeatedUsersCounter. But I am not sure how do I pass this projectList result to this getRepeatedUsersCounter() and get it fit in the below query structure

query projectList() {
  getProjectList() {
    project{
      id
      name
      users
    }
    usersCounter{
    //This is for across the project
     user1Counter
     user2Counter
    }
  }
}
Aditya yadav
  • 119
  • 1
  • 7

0 Answers0