-
Notifications
You must be signed in to change notification settings - Fork 1
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
Derive(ExecutionPlanValue) for enums #43
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #43 +/- ##
=======================================
Coverage ? 50.23%
=======================================
Files ? 33
Lines ? 2092
Branches ? 0
=======================================
Hits ? 1051
Misses ? 1041
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
f22c6ae
to
3ba61f8
Compare
5e7042a
to
62d13b9
Compare
Using the standard enum idiom. Some(v) becomes ["some"] followed by v's parts. None becomes just ["none"]
3c02173
to
68519ba
Compare
68519ba
to
71dd6e1
Compare
In #42 I wrote a derive macro for
impl Value
on a struct type. Now the macro can be used on enum types too!