{"action":"created","issue":{"url":"https://api.github.com/repos/mmoreram/ControllerExtraBundle/issues/87","repository_url":"https://api.github.com/repos/mmoreram/ControllerExtraBundle","labels_url":"https://api.github.com/repos/mmoreram/ControllerExtraBundle/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/mmoreram/ControllerExtraBundle/issues/87/comments","events_url":"https://api.github.com/repos/mmoreram/ControllerExtraBundle/issues/87/events","html_url":"https://github.com/mmoreram/ControllerExtraBundle/issues/87","id":103327378,"number":87,"title":"PaginatorAnnotation Factory Pattern","user":{"login":"spicyroland","id":7749379,"avatar_url":"https://avatars.githubusercontent.com/u/7749379?v=3","gravatar_id":"","url":"https://api.github.com/users/spicyroland","html_url":"https://github.com/spicyroland","followers_url":"https://api.github.com/users/spicyroland/followers","following_url":"https://api.github.com/users/spicyroland/following{/other_user}","gists_url":"https://api.github.com/users/spicyroland/gists{/gist_id}","starred_url":"https://api.github.com/users/spicyroland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spicyroland/subscriptions","organizations_url":"https://api.github.com/users/spicyroland/orgs","repos_url":"https://api.github.com/users/spicyroland/repos","events_url":"https://api.github.com/users/spicyroland/events{/privacy}","received_events_url":"https://api.github.com/users/spicyroland/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-08-26T17:39:44Z","updated_at":"2016-11-18T14:59:45Z","closed_at":null,"body":"Hi Marc,\nI would like to be able to use a service container object (@elcodi.store) in your wheres clause\n\n```\n@PaginatorAnnotation(\n     *      attributes = \"paginatorAttributes\",\n     *      class = \"elcodi.entity.product.class\"\n     *      page = \"~page~\",\n     *      limit = 6\n     *      wheres = {\n     *          {\"x\", \"enabled\", \"=\", true},\n     *          {\"x\", \"showInHome\", \"=\", true},\n     *          {\"x\", \"store\", \"=\", \"@elcodi.store\"},\n     *      },\n```\n\n..unfortunately I could not manage to get this running. Any ideas? \nThx\n Roland\n"},"comment":{"url":"https://api.github.com/repos/mmoreram/ControllerExtraBundle/issues/comments/261551955","html_url":"https://github.com/mmoreram/ControllerExtraBundle/issues/87#issuecomment-261551955","issue_url":"https://api.github.com/repos/mmoreram/ControllerExtraBundle/issues/87","id":261551955,"user":{"login":"mmoreram","id":521409,"avatar_url":"https://avatars.githubusercontent.com/u/521409?v=3","gravatar_id":"","url":"https://api.github.com/users/mmoreram","html_url":"https://github.com/mmoreram","followers_url":"https://api.github.com/users/mmoreram/followers","following_url":"https://api.github.com/users/mmoreram/following{/other_user}","gists_url":"https://api.github.com/users/mmoreram/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoreram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoreram/subscriptions","organizations_url":"https://api.github.com/users/mmoreram/orgs","repos_url":"https://api.github.com/users/mmoreram/repos","events_url":"https://api.github.com/users/mmoreram/events{/privacy}","received_events_url":"https://api.github.com/users/mmoreram/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T14:59:44Z","updated_at":"2016-11-18T14:59:44Z","body":"@JHGitty you can define anything as a service, and in that case, `@elcodi.store` is an entity generated by a factory.\r\n\r\nThis could be implemented by adding a new provider (DIC service or parameter). I will try it now :)"}}
{"actor":{"display_login":"mmoreram"}}