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

project_autocomplete_users_with_mr_permissions.query.graphql « queries « graphql_shared « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8155451fb7cef46862911d753c20947f5622a37a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#import "../fragments/user.fragment.graphql"
#import "~/graphql_shared/fragments/user_availability.fragment.graphql"

query projectAutocompleteUsersSearchWithMRPermissions(
  $search: String!
  $fullPath: ID!
  $mergeRequestId: MergeRequestID!
) {
  workspace: project(fullPath: $fullPath) {
    id
    users: autocompleteUsers(search: $search) {
      ...User
      ...UserAvailability
      mergeRequestInteraction(id: $mergeRequestId) {
        canMerge
      }
    }
  }
}