Skip to content
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

Support Enum #2

Open
horoshenkiy opened this issue Dec 24, 2021 · 1 comment
Open

Support Enum #2

horoshenkiy opened this issue Dec 24, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@horoshenkiy
Copy link

Hello!

Thanks for your contribution to open source. I and my team are waiting for this library for a long time. We have self-made library which using RTTR for config loading but we think this have problems.

Your library is more comfortable. It's great!
But we can't find methods for using enums. Maybe can you help us?

@netcan
Copy link
Owner

netcan commented Dec 24, 2021

for history reason, before I developped this library, our project needs to manually maintain the mapping table of enum and string, so after I developped the library, we don't need to do mapping anymore(just manually maintain it)

my sugguestion is your config file using the enum string, and temporarily build the enum table, I would consider enumeration support later.

@netcan netcan added the enhancement New feature or request label Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants