leancodepl / contractsgenerator-dart

Dart contracts client generator for a CQRS API
3 stars 1 forks source link

`DateTimeOffset` support #56

Closed jakubfijalkowski closed 2 years ago

jakubfijalkowski commented 2 years ago

Currently, the generated contracts treat DateTime and DateTimeOffset as the same type. This types are different and should be handled differently. Now, we don't even have a way to pass correct data to the DateTimeOffset fields - all the offset information will be lost during serialization.