#import "./board_list.fragment.graphql"

mutation UpdateBoardList($listId: ID!, $position: Int, $collapsed: Boolean) {
  updateBoardList(input: { listId: $listId, position: $position, collapsed: $collapsed }) {
    # We have ID in a deeply nested fragment
    # eslint-disable-next-line @graphql-eslint/require-id-when-available
    list {
      ...BoardListFragment
    }
    errors
  }
}
