redhat-developer / henge

This project has merged into Kompose.
https://github.com/skippbox/kompose
MIT License
14 stars 7 forks source link

Add verification for user input #29

Open kadel opened 8 years ago

kadel commented 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...

surajssd commented 8 years ago

I feel, wouldn't that be a double work, I mean converters' code going ahead does that checkup right?

kadel commented 8 years ago

When you are injecting values to Config struct validation has already been done.

surajssd commented 8 years ago

Yeah true.