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

dart: use enhanced enums #8313

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

vaind
Copy link
Contributor

@vaind vaind commented May 18, 2024

Dart has had enhanced enums for a few years so we can now use it instead of our hacky class with static fields.
User code should be mostly unaffected, other than using the defaullt toString() now (closes #8260) and the change in .values type. Both now default to standard dart enum behavior.

@github-actions github-actions bot added c++ codegen Involving generating code from schema dart labels May 18, 2024
@vaind vaind changed the title dart: rename enums.fbs dart: use enhanced enums May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ codegen Involving generating code from schema dart
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant