debian-mirror-gitlab/app/assets/javascripts/sidebar/queries/get_mr_assignees.query.graphql
2023-03-04 22:38:38 +05:30

30 lines
646 B
GraphQL

#import "~/graphql_shared/fragments/user.fragment.graphql"
#import "~/graphql_shared/fragments/user_availability.fragment.graphql"
query getMrAssignees($fullPath: ID!, $iid: String!) {
workspace: project(fullPath: $fullPath) {
id
issuable: mergeRequest(iid: $iid) {
id
author {
...User
...UserAvailability
mergeRequestInteraction {
canMerge
}
}
assignees {
nodes {
...User
...UserAvailability
mergeRequestInteraction {
canMerge
}
}
}
userPermissions {
canMerge
}
}
}
}