I am guessing that, for compatibility reasons, the type of vararg parameters Any* is Array[Any] - please correct this if I\'m wrong. However, this does not expl
I suppose that you would like to make the method calls prettier and so explicit calling with _* is not an option. In that case you may solve the problem with method overloading.
class Api(api_url: String, params: Seq[(String, String)]) {
def this(api_url: String, param : (String, String), params: (String, String)*)
= this(api_url, param +: params)
def this(api_url: String)
= this(api_url, Seq())
}