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

Add a few more built-in converters #604

Open
1 of 4 tasks
Emily-Jiang opened this issue Sep 23, 2020 · 0 comments
Open
1 of 4 tasks

Add a few more built-in converters #604

Emily-Jiang opened this issue Sep 23, 2020 · 0 comments
Labels
use case 💡 An issue which illustrates a desired use case for the specification

Comments

@Emily-Jiang
Copy link
Member

Emily-Jiang commented Sep 23, 2020

Description

As a:

  • Application user/user of the configuration itself
  • API user (application developer)
  • SPI user (container or runtime developer)
  • Specification implementer

...I need to be able to:

automatically convert a string to UUID, Charset

...which enables me to:

UUID u = ConfigProvider.getConfig().getValue("uuid", UUID.class);
Charset u = ConfigProvider.getConfig().getValue("charSet", CharSet.class);
Pattern p = ConfigProvider.getConfig().getValue("pattern", Pattern.class);

@Emily-Jiang Emily-Jiang added the use case 💡 An issue which illustrates a desired use case for the specification label Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
use case 💡 An issue which illustrates a desired use case for the specification
Projects
None yet
Development

No branches or pull requests

1 participant