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

fix validation of user and password for Nette\DI\Statement #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

krajcikondra
Copy link

@krajcikondra krajcikondra commented May 9, 2018

Hi, my config looks like this:

rabbitmq:

connection:
	host: @envReader::get(RABBIT_MQ_HOST)
	port: @envReader::get(RABBIT_MQ_PORT)
	user: @envReader::get(RABBIT_MQ_USER)
	password: @envReader::get(RABBIT_MQ_PASSWORD)
	vhost: @envReader::get(RABBIT_MQ_VHOST)

In method \Kdyby\RabbitMq\DI\RabbitMqExtension::loadConnections is validation expecting string in user and password.

If we use service envReader for load environmental variable, then to the validation is passed Nette\DI\Statement instead string and application failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant