This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
Action argument of IList<T> will be bound as Null instead of an empty List<T> #1579
Closed
Description
Today CollectionModelBinder returns false if a value provider cannot provide a value, it is the mutable object binder which creates a model for it.
Since it is the CollectionModelBinder
which is responsible for binding collections, it should be the one which creates empty object and not let it slip for other model binders.