From d6698a5ca137f99c2fcb8ec55cbd7158e3179638 Mon Sep 17 00:00:00 2001 From: mihna123 Date: Thu, 10 Sep 2026 19:01:23 +0200 Subject: add a TODO.md to track issues --- TODO.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 TODO.md diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..776254f --- /dev/null +++ b/TODO.md @@ -0,0 +1,8 @@ +- [ ] fix config.Load validation + +The config.Load() is not validating properly. Fields can be missing from the +config (for example the port option) and we don't get an error for it. In the +tests we have TetsRejectsConfigWithoutDatabase that passes which is confusing. + +Maybe we should use a validator library like go-playground/validate which +seems to be activelly maintained for now. -- cgit v1.3.1