wing
wing copied to clipboard
Support defining how Enums are stringified
Use Case
Wing now supports the ability to define how an enum is stringified
enum Days {
MONDAY,
TUESDAY
}
log("{Days.MONDAY}");
// Prints "monday" instead of MONDAY
Proposed Solution
Probably requires RFC
Implementation Notes
No response
Component
No response
Community Notes
- Please vote by adding a 👍 reaction to the issue to help us prioritize.
- If you are interested to work on this issue, please leave a comment.
- If this issue is labeled needs-discussion, it means the spec has not been finalized yet. Please reach out on the #dev channel in the Wing Slack.