Open kadel opened 8 years ago
We should verify values from user. For example if we are asking for port, we should verify that it is string, and it is in sensible range etc...
I feel, wouldn't that be a double work, I mean converters' code going ahead does that checkup right?
When you are injecting values to Config struct validation has already been done.
Yeah true.
We should verify values from user. For example if we are asking for port, we should verify that it is string, and it is in sensible range etc...