
add `get<type>` functions to base class.
MasterCash opened this issue ยท 2 comments
currently given a random BaseConfigItem
you end up doing this to get the value:
item.asString().getValue();
It would be simpler if you could just do:
item.getString()
Though there is some concern about naming here with asString
and getString
but I believe it to be a minimal issue.
Would need some thought about how to handle this with ConfigList
and ConfigGroup
possibly return the unmodifiable list?