Commit Graph

4 Commits

Author SHA1 Message Date
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