Open
Description
When I define an own CustomConverter (example: DateConverter), I can define it to throw errors.
The error message is a bit confusing. The expected type is listed as undefined
while it should better be the DateConverter
instead (or none at all).
Example:
start.page.ts:78 Error: Fatal error in JsonConvert. Failed to map the JSON object to the class "User" because of a type error.
Class property:
created
Expected type:
undefined
JSON property:
createdo
JSON type:
undefined
JSON value:
undefined
Unexpected type for DateTime string given. Expected string, received undefined.