debian-mirror-gitlab/app/assets/javascripts/sidebar/queries/get_mr_assignees.query.graphql
2023-03-05 14:24:40 +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
}
}
}
}