conf_conf icon indicating copy to clipboard operation
conf_conf copied to clipboard

Configuration elements should be able to be validated.

Open daveworth opened this issue 10 years ago • 1 comments

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).

daveworth avatar Jun 30 '14 16:06 daveworth

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?

jkassemi avatar Jul 06 '14 01:07 jkassemi