NET-A-PORTER/scala-uri

case class for Query Params

Closed this issue · 1 comments

Query Parameters are currently Tuples (String,String).

It would be nice if these were case class to get nicer fields name and value vs _1 and _2.

Still allow Tuples to be passed into methods such as addParam and addParams

On second thoughts I will leave this as Tuples for the meantime and rely on pattern matching

params map { case (name, value) => ... }

and

val (name, value) = param