-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
Parameters in includes #313
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: 3.1.10
Bug Description
Includes section can expand only parameters which are set to Nette\DI\Config\Loader::setParameters. Parameters which are set in parameters section in config files are ignored.
Steps To Reproduce
Neon file:
Ends with exception Nette\InvalidArgumentException Missing parameter 'filesystemType'.
Expected Behavior
Before processing includes section in neon files merge parameters from parameters section.
Possible Solution
Maybe this change can be enough:
In /src/DI/Config/Loader.php:56 add these lines:
And of course, make public constant Nette\DI\Compiler::Parameters ..
The text was updated successfully, but these errors were encountered: