summaryrefslogtreecommitdiff
path: root/test/Main.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* handle partially present optional nestingsstuebinm2024-07-101-9/+38
| | | | | | | | these would previously silently fail and simply produce a Nothing if only some (but not all) of the nested keys were present. This is not reasonable behaviour that anyone would expect; whenever a nested key is present, absence of another should be an error (the same goes for any other errors in that key's definition).
* quasi-quotes for config keysstuebinm2024-06-081-2/+4
|
* the Config interface should be Applicative, not Monadstuebinm2024-06-071-3/+16
| | | | | this allows for safer alternative uses for it, such as running it on an empty list of config sources to just get the list of keys it uses.
* allow for non-required config optionsstuebinm2024-06-071-3/+3
|
* nested values, tests, and aesonstuebinm2024-06-061-20/+74
|
* a generic, multi-source config interfacestuebinm2024-05-221-0/+37