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
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.
The text was updated successfully, but these errors were encountered:
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 theDateConverter
instead (or none at all).Example:
The text was updated successfully, but these errors were encountered: