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

Set default variant for enum types #21

Open
Desiders opened this issue Jun 14, 2024 · 0 comments
Open

Set default variant for enum types #21

Desiders opened this issue Jun 14, 2024 · 0 comments
Labels
A-telers Area: telers C-enhancement Category: A PR with an enhancement P-low Low priority

Comments

@Desiders
Copy link
Owner

Desiders commented Jun 14, 2024

Related: #19

We need to use #[serde(other)] and #[serde(untagged)] for enum that used as Telegram types because in new Telegram Bot API versions can be added variants that unsupported in old framework versions.

@Desiders Desiders added C-enhancement Category: A PR with an enhancement A-telers Area: telers E-easy Call for participation: Experience needed to fix: Easy / not much P-low Low priority labels Jun 14, 2024
@Desiders Desiders added E-medium Call for participation: Experience needed to fix: Medium / intermediate P-low Low priority and removed E-easy Call for participation: Experience needed to fix: Easy / not much P-low Low priority E-medium Call for participation: Experience needed to fix: Medium / intermediate labels Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-telers Area: telers C-enhancement Category: A PR with an enhancement P-low Low priority
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant