-
Notifications
You must be signed in to change notification settings - Fork 23
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
Validate property types #51
Labels
Comments
not sure if allowing mistakes is a good idea, instead leaving a comprehensive error message which helps the user to easily fix his mistake sounds better to my opinion. |
Allowing mistakes is definitely not a good idea. On the other hand converting Either way, types have to be validated to avoid idempotence violations. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It'd be great if
cq_osgi_config
could warn the user and correct simple mistakes in property types.Use cases:
true
(boolean) is expected, but'true'
(string) was used'htmllibmanager.processor.js' => 'min:gcc'
'htmllibmanager.processor.js' => ['min:gcc']
Correction should be optional and controlled via
cq_osgi_config
property.The text was updated successfully, but these errors were encountered: