{"action":"created","issue":{"url":"https://api.github.com/repos/andreapavoni/panoramic/issues/22","repository_url":"https://api.github.com/repos/andreapavoni/panoramic","labels_url":"https://api.github.com/repos/andreapavoni/panoramic/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/andreapavoni/panoramic/issues/22/comments","events_url":"https://api.github.com/repos/andreapavoni/panoramic/issues/22/events","html_url":"https://github.com/andreapavoni/panoramic/pull/22","id":257543457,"number":22,"title":"fix(Resolver): allow additional details to be passed to Resolver.","user":{"login":"nhodges","id":371516,"avatar_url":"https://avatars1.githubusercontent.com/u/371516?v=4","gravatar_id":"","url":"https://api.github.com/users/nhodges","html_url":"https://github.com/nhodges","followers_url":"https://api.github.com/users/nhodges/followers","following_url":"https://api.github.com/users/nhodges/following{/other_user}","gists_url":"https://api.github.com/users/nhodges/gists{/gist_id}","starred_url":"https://api.github.com/users/nhodges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhodges/subscriptions","organizations_url":"https://api.github.com/users/nhodges/orgs","repos_url":"https://api.github.com/users/nhodges/repos","events_url":"https://api.github.com/users/nhodges/events{/privacy}","received_events_url":"https://api.github.com/users/nhodges/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-13T22:44:45Z","updated_at":"2017-09-26T09:43:37Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/andreapavoni/panoramic/pulls/22","html_url":"https://github.com/andreapavoni/panoramic/pull/22","diff_url":"https://github.com/andreapavoni/panoramic/pull/22.diff","patch_url":"https://github.com/andreapavoni/panoramic/pull/22.patch"},"body":"This allows for additional query parameters to be passed to Panoramic::Resolver, which is necessary in a multi tenant environment.\r\n\r\nFor instance, our system allows for each tenant to have their own version of a Panoramic template, but currently this scenario can occur: \r\n\r\nUser A comes to Tenant/Environment 1, template with name \"custom_css\"  and tenant_id 1 is cached.\r\nUser A switches to Tenant/Environment 2, template with name \"custom_css\" and tenant_id 1 is loaded from cache.\r\n\r\nI have simply added plumbing so that you may pass an additional hash to the render method, which will affect the query generated by the find_model_templates method."},"comment":{"url":"https://api.github.com/repos/andreapavoni/panoramic/issues/comments/332145186","html_url":"https://github.com/andreapavoni/panoramic/pull/22#issuecomment-332145186","issue_url":"https://api.github.com/repos/andreapavoni/panoramic/issues/22","id":332145186,"user":{"login":"andreapavoni","id":142753,"avatar_url":"https://avatars1.githubusercontent.com/u/142753?v=4","gravatar_id":"","url":"https://api.github.com/users/andreapavoni","html_url":"https://github.com/andreapavoni","followers_url":"https://api.github.com/users/andreapavoni/followers","following_url":"https://api.github.com/users/andreapavoni/following{/other_user}","gists_url":"https://api.github.com/users/andreapavoni/gists{/gist_id}","starred_url":"https://api.github.com/users/andreapavoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreapavoni/subscriptions","organizations_url":"https://api.github.com/users/andreapavoni/orgs","repos_url":"https://api.github.com/users/andreapavoni/repos","events_url":"https://api.github.com/users/andreapavoni/events{/privacy}","received_events_url":"https://api.github.com/users/andreapavoni/received_events","type":"User","site_admin":false},"created_at":"2017-09-26T09:43:37Z","updated_at":"2017-09-26T09:43:37Z","author_association":"OWNER","body":"hi @nhodges \r\nthank you for your contribution!\r\n\r\nHowever, can you please check tests?"}}
{"actor":{"display_login":"andreapavoni"}}