nette/nette — comment on commit 08febbba8090e85467fb03949d2d7ee50e8ddf9f
File: Nette/common/Configurator.php line 264
By tomaswindsor:

Doesn't this mean that parameters like tempDir or appDir won't be available for expansion on other parameter's definitions in config file? I.e. are %param% notations meant only for the services part of the config file now?

At the moment, in my config file, Nette chokes on this parameter definition:

NotORM:
cache: %tempDir%/cache/_NotORM

In cached config it's:
$container->parameters['NotORM'] = array(
'cache' => $container->expand('%tempDir%/cache/_NotORM'),

It throws exception because it can't find tempDir in $container->parameters, because it wasn't copied into that container yet.