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.
TypeConverterModelBinder cannot bind "byte" and "short" #1123
Closed
Description
Microsoft.AspNet.Mvc.ModelBinding.TypeConverterModelBinder
should bind byte
and short
types.
I think method Microsoft.AspNet.Mvc.ModelBinding.ValueProviderResult.GetConverterDelegate(Type destinationType)
should cover this types.
Minimal repro steps
- Create model with
byte
orshort
property. - Try to databind this model.