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

adaptix + aiogram_dialog = tasty cherry #184

Open
yousomin opened this issue Aug 18, 2022 · 1 comment
Open

adaptix + aiogram_dialog = tasty cherry #184

yousomin opened this issue Aug 18, 2022 · 1 comment
Labels
core Something, that affects core functionality enhancement New feature or request
Milestone

Comments

@yousomin
Copy link

I suggest adding support for dataclasses. Data in context you pass will be formatted to python dict.
But when you get data from context it will be formatted back to dataclasses, that user set for current dialog or window. Of course i can do this by myself but it will much more comfortable if it is in aio_dialogs!

@Tishka17
Copy link
Owner

Tishka17 commented Sep 7, 2022

We need to parse and serialize dataclass somewhere when we find current dialog. Currently loading is done before any dialogs routed.

@Tishka17 Tishka17 added enhancement New feature or request core Something, that affects core functionality labels Sep 7, 2022
@Tishka17 Tishka17 changed the title Dataclass factory + aiogram_dialog = tasty cherry adaptix + aiogram_dialog = tasty cherry Aug 28, 2023
@Tishka17 Tishka17 added this to the 3.0 milestone Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Something, that affects core functionality enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants