Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
straux opened this issue Oct 17, 2017 · 2 comments
Open

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

straux opened this issue Oct 17, 2017 · 2 comments

Comments

@straux
Copy link

straux commented Oct 17, 2017

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

@straux
Copy link
Author

straux commented Oct 17, 2017

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 ?

@weavejester
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants