JMSTranslationBundle icon indicating copy to clipboard operation
JMSTranslationBundle copied to clipboard

Allow skipping dirs validation during configuration warmup

Open yellow1912 opened this issue 7 years ago • 1 comments

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.

yellow1912 avatar Oct 14 '16 04:10 yellow1912

What is the use case for this? Why does it matter when the validation occurs?

gnat42 avatar Apr 20 '17 17:04 gnat42