#import "~/graphql_shared/fragments/user.fragment.graphql"
#import "~/graphql_shared/fragments/user_availability.fragment.graphql"

mutation mergeRequestSetAssignees($iid: String!, $assigneeUsernames: [String!]!, $fullPath: ID!) {
  mergeRequestSetAssignees(
    input: { iid: $iid, assigneeUsernames: $assigneeUsernames, projectPath: $fullPath }
  ) {
    mergeRequest {
      id
      assignees {
        nodes {
          ...User
          ...UserAvailability
        }
      }
      participants {
        nodes {
          ...User
          ...UserAvailability
        }
      }
    }
  }
}
