Open SuperSandro2000 opened 6 months ago
I agree, the whole config management is a bit of a pain, I particularly does not like that it can only be loaded and not easily dumped at the moment.
This issue is stale because it has been open for 90 days with no activity.
Useless comment
Use case
I've run multiple times into issues because I've miss typed a config key name or forgot to copy a letter. Headscale should catch that and fail early in when loading the config and complain about keys it doesn't know.
Description
I am imagining something like json's DisallowUnknownFields() which complains if any field cannot be mapped into a struct.
Contribution
How can it be implemented?
No response