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
[Dependency Injection] Service declaration tags should allow array types #3251
Comments
I think it should actually be the other way around: it should not accept arrays & should throw an exception when loading the yaml (to make it consistent with xml). |
I'd volunteer to solve this one. |
@denderello any news about a fix for this ? |
Task for the BHD: update the YamlFileLoader to check for scalar types (in order to be consistent with the XML format), add unit tests. |
Should be fixed with: #3921 |
The attributes of service tags have to be of a scalar type. It was possible to add arrays here with yaml-configuration.
@phreaknerd: Can this be closed? Github didn't auto-close this because "Fix issue #3251" probably wasn't picked up by its own issue-closing hook. |
Hello,
Using the following yml service declation:
The text was updated successfully, but these errors were encountered: