We're updating the issue view to help you get more done. 

Rename fromExternalRepresentation() to of() for enums used in the configuration

Description

The purpose of this change is to be compliant with the MicroProfile config specification.

Note that, while SmallRye Config supports parse(String), the MP Config specification only mandates the support of parse(CharSequence) so using CharSequence is probably better.

=> We'll use of() because it has precedence over valueOf, which has precedence over parse(), according to the MP spec.

This will allow to automatically convert the config values to enums.

Environment

None

Status

Assignee

Guillaume Smet

Reporter

Guillaume Smet

Fix versions

Priority

Major