Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateTime Fields Appear as str Inside Subscribers [enhancement] #367

Open
abhirathmahipal opened this issue Feb 26, 2022 · 0 comments
Open

Comments

@abhirathmahipal
Copy link
Contributor

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.

@abhirathmahipal abhirathmahipal changed the title DateTime Fields Appear as str Inside Subscribers [Possible Improvement] DateTime Fields Appear as str Inside Subscribers [enhancement] Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant