summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Conftrack.Pretty: docs, more usable functionsstuebinm2024-07-261-8/+38
| | | | | this module is meant for convenience pretty-printing functions and as an illustration of how to deal with the more low-level runFetchConfig
* document publicly exposed interfacestuebinm2024-07-216-10/+205
| | | | | | this documents most functions that might be used by downstream consumers of this library, except for those in Conftrack.Pretty, which aren't done yet.
* handle partially present optional nestingsstuebinm2024-07-101-8/+27
| | | | | | | | 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).
* fix a couple warningsstuebinm2024-07-044-20/+19
|
* pretty-printing of config value sourcesstuebinm2024-06-103-10/+74
|
* add an env variable sourcestuebinm2024-06-102-17/+90
|
* quasi-quotes for config keysstuebinm2024-06-082-3/+22
|
* nested configs which are optionalstuebinm2024-06-071-0/+12
|
* the Config interface should be Applicative, not Monadstuebinm2024-06-071-45/+78
| | | | | 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-4/+20
|
* add yaml sourcestuebinm2024-06-064-3/+49
|
* nested values, tests, and aesonstuebinm2024-06-065-56/+243
|
* a generic, multi-source config interfacestuebinm2024-05-223-0/+160