Commit Graph

8 Commits

Author SHA1 Message Date
Vincent Bernat
de65ee6072 tests: introduce helpers.Pos/helpers.Mark
This helps locating the position of a test.
2024-07-01 07:42:36 +02:00
Vincent Bernat
e842202b82 common/helpers: test validation of SubnetMap with a complex type 2023-09-05 23:06:12 +02:00
Vincent Bernat
190375d805 config: listen on "*" instead of "0.0.0.0" to help IPv6 users 2023-05-05 08:10:25 +02:00
Vincent Bernat
3ea9814214 common/schema: fix validation of NotMainTableOnly option
Fix #454
2023-02-14 15:27:51 +01:00
Vincent Bernat
d3b1ae7ad2 common/schema: allow to move some data in or out the main table 2023-01-26 00:33:57 +01:00
Vincent Bernat
bf99e2211e common/helpers: correctly validate netip.Addr/netip.Prefix
validate is only able to validate non-struct types (or recurse inside
struct). So, if we want to use "required" on some of them, we need a
custom type.

Fix #263
2022-11-15 18:38:41 +01:00
Vincent Bernat
d9a8262f76 common/helpers: make validation work for SubnetMap 2022-08-14 15:06:53 +02:00
Vincent Bernat
6121aaea15 config: use a validator for better configuration validation 2022-06-30 01:23:29 +02:00