You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Config section tracy.bar does not accept reference to registered service.
Steps To Reproduce
Have this config section:
tracy:
bar:
- @doctrine.tracyBarPanel
In 2.7 this generates error Nette\DI\InvalidConfigurationException: The option 'tracy › bar › 0' expects to be class or Nette\DI\Definitions\Statement, string '@doctrine.tracyBarPanel' given. in container compilation.
Expected Behavior
should work as it worked in 2.6
Possible Solution
string should probably be added to allowed values in TracyExtension. If I add it, container gets compiled and the app works.
The text was updated successfully, but these errors were encountered:
Version: 2.7.0
Bug Description
Config section
tracy.bar
does not accept reference to registered service.Steps To Reproduce
Have this config section:
In 2.7 this generates error
Nette\DI\InvalidConfigurationException: The option 'tracy › bar › 0' expects to be class or Nette\DI\Definitions\Statement, string '@doctrine.tracyBarPanel' given.
in container compilation.Expected Behavior
should work as it worked in 2.6
Possible Solution
string
should probably be added to allowed values in TracyExtension. If I add it, container gets compiled and the app works.The text was updated successfully, but these errors were encountered: