{"action":"created","issue":{"url":"https://api.github.com/repos/frhagn/Typewriter/issues/108","repository_url":"https://api.github.com/repos/frhagn/Typewriter","labels_url":"https://api.github.com/repos/frhagn/Typewriter/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/frhagn/Typewriter/issues/108/comments","events_url":"https://api.github.com/repos/frhagn/Typewriter/issues/108/events","html_url":"https://github.com/frhagn/Typewriter/issues/108","id":146349931,"number":108,"title":"Exclude files maybe based on Attribute","user":{"login":"LeeCheneler","id":14389381,"avatar_url":"https://avatars.githubusercontent.com/u/14389381?v=3","gravatar_id":"","url":"https://api.github.com/users/LeeCheneler","html_url":"https://github.com/LeeCheneler","followers_url":"https://api.github.com/users/LeeCheneler/followers","following_url":"https://api.github.com/users/LeeCheneler/following{/other_user}","gists_url":"https://api.github.com/users/LeeCheneler/gists{/gist_id}","starred_url":"https://api.github.com/users/LeeCheneler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeeCheneler/subscriptions","organizations_url":"https://api.github.com/users/LeeCheneler/orgs","repos_url":"https://api.github.com/users/LeeCheneler/repos","events_url":"https://api.github.com/users/LeeCheneler/events{/privacy}","received_events_url":"https://api.github.com/users/LeeCheneler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-06T15:28:33Z","updated_at":"2016-04-11T12:44:12Z","closed_at":null,"body":"We currently use attributes we've made ourselves to determine if a template should render the class. But TypeWriter tries to render every file, and due to some stuff we're doing in our template it will fail to write. \r\n\r\nWe could do with a way to flag whether a class/file should be rendered by TypeWriter.\r\n\r\n```\r\n[TwExclude]\r\nclass Blah\r\n{...}\r\n```\r\n\r\nThis would then signify that TypeWriter should stop trying to render this file/class and forget about it without us needing to do anything."},"comment":{"url":"https://api.github.com/repos/frhagn/Typewriter/issues/comments/208321624","html_url":"https://github.com/frhagn/Typewriter/issues/108#issuecomment-208321624","issue_url":"https://api.github.com/repos/frhagn/Typewriter/issues/108","id":208321624,"user":{"login":"frhagn","id":5083537,"avatar_url":"https://avatars.githubusercontent.com/u/5083537?v=3","gravatar_id":"","url":"https://api.github.com/users/frhagn","html_url":"https://github.com/frhagn","followers_url":"https://api.github.com/users/frhagn/followers","following_url":"https://api.github.com/users/frhagn/following{/other_user}","gists_url":"https://api.github.com/users/frhagn/gists{/gist_id}","starred_url":"https://api.github.com/users/frhagn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frhagn/subscriptions","organizations_url":"https://api.github.com/users/frhagn/orgs","repos_url":"https://api.github.com/users/frhagn/repos","events_url":"https://api.github.com/users/frhagn/events{/privacy}","received_events_url":"https://api.github.com/users/frhagn/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T12:44:12Z","updated_at":"2016-04-11T12:44:12Z","body":"Ah, I see.. \r\nI've also thought about adding a \"file filter\", but I think introducing another filter would add more complexity than needed. Maybe a better solution would be to suppress all errors until after a filter is matched and if no match is found, no error will be thrown? "}}