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

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