conf_conf
conf_conf copied to clipboard
Configuration elements should be able to be validated.
It would be super sweet to be able to specify types for configuration elements such as
config :service_port, type: :integer
config :service_url, type: :string, matching: %r{https://some-service.example.com/api/v\d}
I can volunteer @leakybucket to implement this (or myself).
Agreed. My configurations would be nicely cleaned up if this were in place.
We could build on the HTML5 validation spec naming convention - know of any other specs or existing implementations that would make a good starting point?