JMSTranslationBundle
JMSTranslationBundle copied to clipboard
Allow skipping dirs validation during configuration warmup
Q | A |
---|---|
Bug fix? | no |
New feature? | yes |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | fix #406 |
License | Apache2 |
Description
Add a new config key to allow skipping the dirs validation during configuration phase
Todos
- [ ] Tests
- [ ] Documentation
- [ ] Changelog
There is no reason to validate the dirs until we actually run the
extraction. This PR adds the validate_dir option which defaults to
true
so users can opt for not validating the dirs paths during
configuration warmup phase.
It's possible that we still want to do validation at extract phase and we can add the code to do that if it is necessary.
What is the use case for this? Why does it matter when the validation occurs?