Welcome to mirror list, hosted at ThFree Co, Russian Federation.

search_users.query.graphql « queries « list « issues « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 92517ad35d0cabb55e1384db753daf8c3a856116 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#import "./user.fragment.graphql"

query searchUsers($fullPath: ID!, $search: String, $isProject: Boolean = false) {
  group(fullPath: $fullPath) @skip(if: $isProject) {
    id
    groupMembers(search: $search) {
      nodes {
        id
        user {
          ...User
        }
      }
    }
  }
  project(fullPath: $fullPath) @include(if: $isProject) {
    id
    projectMembers(search: $search) {
      nodes {
        id
        user {
          ...User
        }
      }
    }
  }
}