schmittjoh / JMSTranslationBundle

Puts the Symfony2 Translation Component on steroids
http://jmsyst.com/bundles/JMSTranslationBundle
426 stars 292 forks source link

Allow skipping dirs validation during configuration warmup #407

Open yellow1912 opened 8 years ago

yellow1912 commented 8 years ago
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

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.

gnat42 commented 7 years ago

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