hesperides icon indicating copy to clipboard operation
hesperides copied to clipboard

Adding typed properties: URL, integer, log level

Open Lucas-C opened this issue 7 years ago • 0 comments

Demande de Benjamin G. :

In order to secure properties valuations it would be interesting to allow properties to have a type.

There is already a pattern system that allow to control the valuations validation through regex. But a system with built-in pattern would be nice.

Best case scenario would be, in the valuations edition, to visualize wether this property has been specialized by any built in Type, as well as visualizing the restriction pattern tied to it.

Built-in Type example :

URL : restrict url format matching RFC 1738
Timeout : forcing millisecond usage and why not preventing inserting timeout greater than a minute
LogLevel : predefined list of log level

Lucas-C avatar Nov 02 '18 09:11 Lucas-C