Model binding of query strings does not work for arrays #403
Labels
bug
Reproducible bug
PR approved
A PR for this issue will get accepted (as long as inline with the comms)
With the model
trying to bind a collection in a query string to the array on the model, e.g.
localhost:8084??searchTerms=search1&searchTerms=search2
, the binding fails and the array is set to null.When the model is changed to use a list, e.g.
the binding works correctly. It seems that arrays are not catered for in
ModelBinding.parseValue
The text was updated successfully, but these errors were encountered: