You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
ModelStateDictionary adds Resources.ModelError_InvalidValue_GenericMessage and Resources.ModelError_InvalidValue_MessageWithModelValue messages when a FormatException occurs. This message includes the full key (property / collection path) e.g. "model.Customer.Name". For consistency with MVC 5 and usability, should instead use the DisplayName of the problematic property and fall back to the property name.
The text was updated successfully, but these errors were encountered:
…atException` and `OverflowException`
- #3227
- much of change is to tests, creating and passing `ModelMetadata`
- updated `InputFormatterContext` to make `ModelMetadata` available to `JsonInputFormatter`
- walk `ModelMetadata` tree to get information about property with an issue
- add missing `null` checks in `ModelStateDictionaryExtensions`
…atException` and `OverflowException`
- #3227
- much of change is to tests, creating and passing `ModelMetadata`
- updated `InputFormatterContext` to make `ModelMetadata` available to `JsonInputFormatter`
- walk `ModelMetadata` tree to get information about property with an issue
- add missing `null` checks in `ModelStateDictionaryExtensions`
ModelStateDictionary
addsResources.ModelError_InvalidValue_GenericMessage
andResources.ModelError_InvalidValue_MessageWithModelValue
messages when aFormatException
occurs. This message includes the full key (property / collection path) e.g. "model.Customer.Name". For consistency with MVC 5 and usability, should instead use theDisplayName
of the problematic property and fall back to the property name.The text was updated successfully, but these errors were encountered: