You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature: allow customizing enum value serialization via annotations (#251)
* Require the latest Dart SDK
Annotated enums fail without the CFE
* Require the latest pkg:analyzer
Enum metadata parsing was just recently added
* Require the latest pkg:source_gen
Uses multiple return values to allow generating shared helpers
* Removed several helpers in json_annotation
They can now be generated as part of the source, which minimizes
versioning issues with helpers.
* Small, but breaking changes to Generator API to return multiple
values
* Added `addMember` API to Context classes to allow helpers to be
generated.
* Updated integration test code to include an annotated enum
* Updated yaml test code to remove now superfluous convert logic and use
annotated enums instead
Fixes#38
0 commit comments