Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

How can I convert a String to a Enum Type #68

Open
ride4sun opened this issue Mar 20, 2021 · 0 comments
Open

How can I convert a String to a Enum Type #68

ride4sun opened this issue Mar 20, 2021 · 0 comments

Comments

@ride4sun
Copy link

ride4sun commented Mar 20, 2021

I would like to generate a super enum Type from a String.
I would expect something like:

MyEnum enum = MyEnum.fromString(String Name);

Actually, support for the roundtrip String conversion should be supported from and to String.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant