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
DateTime fields in events appear as str inside the subscriber (probably because they are deserialised using Redis as such). We manually have to datetime.fromisoformat() to convert str to datetime
I feel we could follow an approach like Python's dataclass or marshmallow-dataclass where implicit conversion takes place during deserialisation.
The text was updated successfully, but these errors were encountered:
abhirathmahipal
changed the title
DateTime Fields Appear as str Inside Subscribers [Possible Improvement]DateTime Fields Appear as str Inside Subscribers [enhancement]
Feb 26, 2022
DateTime
fields in events appear asstr
inside the subscriber (probably because they are deserialised using Redis as such). We manually have todatetime.fromisoformat()
to convertstr
todatetime
I feel we could follow an approach like Python's
dataclass
or marshmallow-dataclass where implicit conversion takes place during deserialisation.The text was updated successfully, but these errors were encountered: