#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
      }
    }
  }
}
