{"action":"closed","issue":{"url":"https://api.github.com/repos/abmagil/haystack/issues/2","labels_url":"https://api.github.com/repos/abmagil/haystack/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/abmagil/haystack/issues/2/comments","events_url":"https://api.github.com/repos/abmagil/haystack/issues/2/events","html_url":"https://github.com/abmagil/haystack/issues/2","id":52616909,"number":2,"title":"Only allow generation of searchers for existing class","user":{"login":"abmagil","id":2807766,"avatar_url":"https://avatars.githubusercontent.com/u/2807766?v=3","gravatar_id":"","url":"https://api.github.com/users/abmagil","html_url":"https://github.com/abmagil","followers_url":"https://api.github.com/users/abmagil/followers","following_url":"https://api.github.com/users/abmagil/following{/other_user}","gists_url":"https://api.github.com/users/abmagil/gists{/gist_id}","starred_url":"https://api.github.com/users/abmagil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abmagil/subscriptions","organizations_url":"https://api.github.com/users/abmagil/orgs","repos_url":"https://api.github.com/users/abmagil/repos","events_url":"https://api.github.com/users/abmagil/events{/privacy}","received_events_url":"https://api.github.com/users/abmagil/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"abmagil","id":2807766,"avatar_url":"https://avatars.githubusercontent.com/u/2807766?v=3","gravatar_id":"","url":"https://api.github.com/users/abmagil","html_url":"https://github.com/abmagil","followers_url":"https://api.github.com/users/abmagil/followers","following_url":"https://api.github.com/users/abmagil/following{/other_user}","gists_url":"https://api.github.com/users/abmagil/gists{/gist_id}","starred_url":"https://api.github.com/users/abmagil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abmagil/subscriptions","organizations_url":"https://api.github.com/users/abmagil/orgs","repos_url":"https://api.github.com/users/abmagil/repos","events_url":"https://api.github.com/users/abmagil/events{/privacy}","received_events_url":"https://api.github.com/users/abmagil/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2014-12-22T03:24:40Z","updated_at":"2015-08-23T15:41:45Z","closed_at":"2015-08-23T15:41:45Z","body":"You can pass anything to the generator and it will happily build it.  Do a simple check against the existing classes to ensure it has an appropriate base"}}