{"action":"created","issue":{"url":"https://api.github.com/repos/sergeyshushlyapin/Sitecore.FakeDb/issues/63","labels_url":"https://api.github.com/repos/sergeyshushlyapin/Sitecore.FakeDb/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/sergeyshushlyapin/Sitecore.FakeDb/issues/63/comments","events_url":"https://api.github.com/repos/sergeyshushlyapin/Sitecore.FakeDb/issues/63/events","html_url":"https://github.com/sergeyshushlyapin/Sitecore.FakeDb/pull/63","id":81567991,"number":63,"title":"deserialize tree of items with templates","user":{"login":"PatrickDelancy","id":587642,"avatar_url":"https://avatars.githubusercontent.com/u/587642?v=3","gravatar_id":"","url":"https://api.github.com/users/PatrickDelancy","html_url":"https://github.com/PatrickDelancy","followers_url":"https://api.github.com/users/PatrickDelancy/followers","following_url":"https://api.github.com/users/PatrickDelancy/following{/other_user}","gists_url":"https://api.github.com/users/PatrickDelancy/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickDelancy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickDelancy/subscriptions","organizations_url":"https://api.github.com/users/PatrickDelancy/orgs","repos_url":"https://api.github.com/users/PatrickDelancy/repos","events_url":"https://api.github.com/users/PatrickDelancy/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickDelancy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-27T18:30:38Z","updated_at":"2015-05-27T21:54:39Z","closed_at":"2015-05-27T21:53:41Z","pull_request":{"url":"https://api.github.com/repos/sergeyshushlyapin/Sitecore.FakeDb/pulls/63","html_url":"https://github.com/sergeyshushlyapin/Sitecore.FakeDb/pull/63","diff_url":"https://github.com/sergeyshushlyapin/Sitecore.FakeDb/pull/63.diff","patch_url":"https://github.com/sergeyshushlyapin/Sitecore.FakeDb/pull/63.patch"},"body":"I wanted to be able to deserialize all of my project's templates quickly for executing some consistency tests (verify that item templates were included in search index config and referenced templates actually existed and some other stuff like that).\r\n\r\nRather than walk the filesystem or use reflection, like I have seen in some other solutions, it seemed almost trivial to make the DsDbItem constructor be able to handle this. It also preserves the template folder hierarchy.\r\n\r\nI added a couple of simple unit tests to prove the functionality."},"comment":{"url":"https://api.github.com/repos/sergeyshushlyapin/Sitecore.FakeDb/issues/comments/106089591","html_url":"https://github.com/sergeyshushlyapin/Sitecore.FakeDb/pull/63#issuecomment-106089591","issue_url":"https://api.github.com/repos/sergeyshushlyapin/Sitecore.FakeDb/issues/63","id":106089591,"user":{"login":"sergeyshushlyapin","id":4719165,"avatar_url":"https://avatars.githubusercontent.com/u/4719165?v=3","gravatar_id":"","url":"https://api.github.com/users/sergeyshushlyapin","html_url":"https://github.com/sergeyshushlyapin","followers_url":"https://api.github.com/users/sergeyshushlyapin/followers","following_url":"https://api.github.com/users/sergeyshushlyapin/following{/other_user}","gists_url":"https://api.github.com/users/sergeyshushlyapin/gists{/gist_id}","starred_url":"https://api.github.com/users/sergeyshushlyapin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergeyshushlyapin/subscriptions","organizations_url":"https://api.github.com/users/sergeyshushlyapin/orgs","repos_url":"https://api.github.com/users/sergeyshushlyapin/repos","events_url":"https://api.github.com/users/sergeyshushlyapin/events{/privacy}","received_events_url":"https://api.github.com/users/sergeyshushlyapin/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T21:54:39Z","updated_at":"2015-05-27T21:54:39Z","body":"Merged. Thank you, @PatrickDelancy."}}