-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Milestone
Description
If you have a property in a definition that is a string with date-time format, the typescript generated model makes that property a Date type. However, the response in the client is given verbatim. It never looks for date strings and actually transforms them in to Date objects. So the project will build, but fails at runtime if you try to access Date specific methods since it's actually a string.
I imagine this relates to:
#1951
Since this PR focuses on deserializing dates in the response. I would suggest making those properties strings until deserialization is supported, otherwise the type checking isn't actually accurate.
gregjacobs, pgrm, DaveWM, erokar, calbach and 11 moremanudeli