isar / isar/hive

Support for enhanced enums

Open
#1,268 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
4.4k
Forks
449
PR merge metrics
No merged PRs in 30d

Description

Since dart 2.17 there is support for enhanced enums: https://dart.dev/language/enums#declaring-enhanced-enums

When using these with the hive generator following error happens:

`MyFancyEnum does not have any enum value.`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked Dart enhanced-enum documentation and reproducing the generator error with a representative enhanced enum. Trace the generator's enum handling from that failure; done means enhanced enums are accepted without the “does not have any enum value” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
database
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.