integrant icon indicating copy to clipboard operation
integrant copied to clipboard

pre-init-spec may conform data instead of just running s/valid?

Open straux opened this issue 7 years ago • 2 comments

Is there a reason not to do so ? It would be useful for example for pre-processing dates or durations from config files.

straux avatar Oct 17 '17 08:10 straux

After checking, it is not possible to simply replace s/valid? by s/conform: for example, it would result in a change of the data structure of the config when using s/or specs.

Instead, the application of s/conform could be set optionnal in some way ?

straux avatar Oct 17 '17 10:10 straux

I think I'd rather have any pre-processing of the configuration as an explicit step.

weavejester avatar Dec 08 '17 15:12 weavejester