class

URI::Params::Serializable::EmptyIndexForNonScalarArrayParamError

Inherits URI::Params::Serializable::Error / Exception / Reference / Object

Raised when a non-scalar type has a empty ("[]") index in the query. Complex (i.e. non-scalar) objects require explicit numeration for their instances, e.g. if foo is Array(NestedParams(a : Int32, b : Int32)), then foo[][a]=1&foo[][b]=2 makes no sense, because it's not clear whether is it the same object.

Constructors

new(param_path : Tuple, nested_path : Array(String))
Source