uclahs-cds / Ligare

GNU General Public License v2.0
0 stars 0 forks source link

Fix confusing issue when config class names don't end with `Config`. #105

Closed aholmes closed 1 month ago

aholmes commented 1 month ago

This fixes a problem where config classes used in ConfigBuilder could be named something like FooConfigExtra, which can lead to confusion in what the associated TOML section names are. To avoid this, this enforces that config class names must end with Config.

This change also includes tests and custom exceptions for the config system.

Closes #34