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
Currently Enums use strings both for unit enums and newtype enums but structs use symbols this leads to odd looking ruby hashes with mixes of hash rocket and symbol syntax.
Could everything use either strings or symbols. My personal preference is symbols as I think the notation is cleaner. Alternatively could the behaviour be changed using features.
Happy to do the work for this and submit a PR but would like to know there is appetite for this before getting started.
The text was updated successfully, but these errors were encountered:
Currently Enums use strings both for unit enums and newtype enums but structs use symbols this leads to odd looking ruby hashes with mixes of hash rocket and symbol syntax.
Could everything use either strings or symbols. My personal preference is symbols as I think the notation is cleaner. Alternatively could the behaviour be changed using features.
Happy to do the work for this and submit a PR but would like to know there is appetite for this before getting started.
The text was updated successfully, but these errors were encountered: