{"action":"closed","issue":{"url":"https://api.github.com/repos/seancdavis/sapwood/issues/96","repository_url":"https://api.github.com/repos/seancdavis/sapwood","labels_url":"https://api.github.com/repos/seancdavis/sapwood/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/seancdavis/sapwood/issues/96/comments","events_url":"https://api.github.com/repos/seancdavis/sapwood/issues/96/events","html_url":"https://github.com/seancdavis/sapwood/issues/96","id":164549701,"number":96,"title":"Eliminate doc N+1 queries","user":{"login":"seancdavis","id":5245089,"avatar_url":"https://avatars.githubusercontent.com/u/5245089?v=3","gravatar_id":"","url":"https://api.github.com/users/seancdavis","html_url":"https://github.com/seancdavis","followers_url":"https://api.github.com/users/seancdavis/followers","following_url":"https://api.github.com/users/seancdavis/following{/other_user}","gists_url":"https://api.github.com/users/seancdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/seancdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seancdavis/subscriptions","organizations_url":"https://api.github.com/users/seancdavis/orgs","repos_url":"https://api.github.com/users/seancdavis/repos","events_url":"https://api.github.com/users/seancdavis/events{/privacy}","received_events_url":"https://api.github.com/users/seancdavis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/seancdavis/sapwood/labels/task","name":"task","color":"5EBEFF"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/seancdavis/sapwood/milestones/1","html_url":"https://github.com/seancdavis/sapwood/milestones/alpha","labels_url":"https://api.github.com/repos/seancdavis/sapwood/milestones/1/labels","id":1650759,"number":1,"title":"alpha","description":"","creator":{"login":"seancdavis","id":5245089,"avatar_url":"https://avatars.githubusercontent.com/u/5245089?v=3","gravatar_id":"","url":"https://api.github.com/users/seancdavis","html_url":"https://github.com/seancdavis","followers_url":"https://api.github.com/users/seancdavis/followers","following_url":"https://api.github.com/users/seancdavis/following{/other_user}","gists_url":"https://api.github.com/users/seancdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/seancdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seancdavis/subscriptions","organizations_url":"https://api.github.com/users/seancdavis/orgs","repos_url":"https://api.github.com/users/seancdavis/repos","events_url":"https://api.github.com/users/seancdavis/events{/privacy}","received_events_url":"https://api.github.com/users/seancdavis/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":77,"state":"open","created_at":"2016-03-17T10:48:13Z","updated_at":"2016-07-10T16:08:20Z","due_on":"2016-07-31T04:00:00Z","closed_at":null},"comments":1,"created_at":"2016-07-08T14:59:44Z","updated_at":"2016-07-10T16:08:20Z","closed_at":"2016-07-10T16:08:19Z","body":"Because the reference to a document is in an element's `template_data` field, we can't (easily) eager load the documents.\n\nThis is going to become an event bigger issue when we start exploring #92.\n\nTherefore, let's find a way to make it act like eager loading. Perhaps we're able to get all the ids for documents first, then run back through the array and drop them in. This is likely slower on small queries, but on larger queries with a lot of documents, it's possible that it helps."}}
{"actor":{"display_login":"seancdavis"}}