{"action":"created","issue":{"url":"https://api.github.com/repos/lexik/LexikFormFilterBundle/issues/280","repository_url":"https://api.github.com/repos/lexik/LexikFormFilterBundle","labels_url":"https://api.github.com/repos/lexik/LexikFormFilterBundle/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/lexik/LexikFormFilterBundle/issues/280/comments","events_url":"https://api.github.com/repos/lexik/LexikFormFilterBundle/issues/280/events","html_url":"https://github.com/lexik/LexikFormFilterBundle/issues/280","id":285205555,"number":280,"title":"Symfony 3.4 and autowiring FilterBuilderUpdaterInterface","user":{"login":"spackmat","id":185854,"avatar_url":"https://avatars1.githubusercontent.com/u/185854?v=4","gravatar_id":"","url":"https://api.github.com/users/spackmat","html_url":"https://github.com/spackmat","followers_url":"https://api.github.com/users/spackmat/followers","following_url":"https://api.github.com/users/spackmat/following{/other_user}","gists_url":"https://api.github.com/users/spackmat/gists{/gist_id}","starred_url":"https://api.github.com/users/spackmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spackmat/subscriptions","organizations_url":"https://api.github.com/users/spackmat/orgs","repos_url":"https://api.github.com/users/spackmat/repos","events_url":"https://api.github.com/users/spackmat/events{/privacy}","received_events_url":"https://api.github.com/users/spackmat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-12-30T14:32:47Z","updated_at":"2018-04-03T13:49:38Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi,\r\n\r\nuntil Symfony 3.3, I injected the `FilterBuilderUpdaterInterface` via autowiring into my controllers instead of getting the service from the container as documented:\r\n\r\n    $this->get('lexik_form_filter.query_builder_updater')->addFilterConditions($filterForm, $qb);\r\n\r\nThis doesn't work anymore with Symfony 3.4, where I get `null` injected instead of the service.\r\n\r\nQuestion is: is there any other way to inject the `FilterBuilderUpdater` service into my controllers via autowiring? My workaround for now is using the documented way via the container."},"comment":{"url":"https://api.github.com/repos/lexik/LexikFormFilterBundle/issues/comments/378256681","html_url":"https://github.com/lexik/LexikFormFilterBundle/issues/280#issuecomment-378256681","issue_url":"https://api.github.com/repos/lexik/LexikFormFilterBundle/issues/280","id":378256681,"user":{"login":"spackmat","id":185854,"avatar_url":"https://avatars1.githubusercontent.com/u/185854?v=4","gravatar_id":"","url":"https://api.github.com/users/spackmat","html_url":"https://github.com/spackmat","followers_url":"https://api.github.com/users/spackmat/followers","following_url":"https://api.github.com/users/spackmat/following{/other_user}","gists_url":"https://api.github.com/users/spackmat/gists{/gist_id}","starred_url":"https://api.github.com/users/spackmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spackmat/subscriptions","organizations_url":"https://api.github.com/users/spackmat/orgs","repos_url":"https://api.github.com/users/spackmat/repos","events_url":"https://api.github.com/users/spackmat/events{/privacy}","received_events_url":"https://api.github.com/users/spackmat/received_events","type":"User","site_admin":false},"created_at":"2018-04-03T13:49:38Z","updated_at":"2018-04-03T13:49:38Z","author_association":"CONTRIBUTOR","body":"Okay, I aliased FilterBuilderUpdaterInterface and FilterBuilderUpdater to lexik_form_filter.query_builder_updater."}}
{"actor":{"display_login":"spackmat"}}