Skip to content
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

2.7 regression - tracy.bar section does not accept service reference #390

Closed
janlanger opened this issue Sep 25, 2019 · 0 comments
Closed

2.7 regression - tracy.bar section does not accept service reference #390

janlanger opened this issue Sep 25, 2019 · 0 comments

Comments

@janlanger
Copy link

@janlanger janlanger commented Sep 25, 2019

Version: 2.7.0

Bug Description

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.

@dg dg closed this in 6eb6784 Sep 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.