#import "../fragments/alert_note.fragment.graphql"

mutation alertSetAssignees($projectPath: ID!, $assigneeUsernames: [String!]!, $iid: String!) {
  alertSetAssignees(
    input: { iid: $iid, assigneeUsernames: $assigneeUsernames, projectPath: $projectPath }
  ) {
    errors
    alert {
      iid
      assignees {
        nodes {
          username
        }
      }
      notes {
        nodes {
          ...AlertNote
        }
      }
    }
  }
}
