Netflix / archaius

Library for configuration management API
Apache License 2.0
2.47k stars 485 forks source link

Handle numeric conversions for non-string raw values. #726

Closed rgallardo-netflix closed 5 months ago

rgallardo-netflix commented 5 months ago

For implementations of AbstractConfig that return non-string values from getRawProperty(), be smarter about doing numeric conversions. Without this, users are forced to guess if the property source will interpret a given number as an integer or a long and code to that, instead of to the types that make sense for their own use case.

Fixes: #653