kdisneur/dependency_injection-ruby

Handle arrays as parameters/arguments

Closed this issue · 0 comments

When I have a service that looks like:

services:
  my_service:
    class: 'MyService'
    arguments:
      - ['value1', 'value2']

I have an error saying: no implicit conversion of Array into String