{"action":"created","issue":{"url":"https://api.github.com/repos/WebDevStudios/generator-plugin-wp/issues/67","repository_url":"https://api.github.com/repos/WebDevStudios/generator-plugin-wp","labels_url":"https://api.github.com/repos/WebDevStudios/generator-plugin-wp/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/WebDevStudios/generator-plugin-wp/issues/67/comments","events_url":"https://api.github.com/repos/WebDevStudios/generator-plugin-wp/issues/67/events","html_url":"https://github.com/WebDevStudios/generator-plugin-wp/issues/67","id":169620615,"number":67,"title":"Include Sub-Generator - Automatically Appending to __get()","user":{"login":"JayWood","id":2303074,"avatar_url":"https://avatars.githubusercontent.com/u/2303074?v=3","gravatar_id":"","url":"https://api.github.com/users/JayWood","html_url":"https://github.com/JayWood","followers_url":"https://api.github.com/users/JayWood/followers","following_url":"https://api.github.com/users/JayWood/following{/other_user}","gists_url":"https://api.github.com/users/JayWood/gists{/gist_id}","starred_url":"https://api.github.com/users/JayWood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JayWood/subscriptions","organizations_url":"https://api.github.com/users/JayWood/orgs","repos_url":"https://api.github.com/users/JayWood/repos","events_url":"https://api.github.com/users/JayWood/events{/privacy}","received_events_url":"https://api.github.com/users/JayWood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-05T14:32:03Z","updated_at":"2016-08-11T16:29:17Z","closed_at":null,"body":"This can become quite large on some projects. I mean do we really need 20+ magic get properties? Maybe consider making this an option during the creation process in the sub generator, or remove it entirely and rely upon the dev to do this if he/she needs to.\r\n\r\n**Example Scenario:**\r\n![b045680249877877e19280cf5cd5cf98](https://cloud.githubusercontent.com/assets/2303074/17439818/c766ff92-5af7-11e6-9978-f5be0e49bb18.png)\r\n"},"comment":{"url":"https://api.github.com/repos/WebDevStudios/generator-plugin-wp/issues/comments/239214826","html_url":"https://github.com/WebDevStudios/generator-plugin-wp/issues/67#issuecomment-239214826","issue_url":"https://api.github.com/repos/WebDevStudios/generator-plugin-wp/issues/67","id":239214826,"user":{"login":"JayWood","id":2303074,"avatar_url":"https://avatars.githubusercontent.com/u/2303074?v=3","gravatar_id":"","url":"https://api.github.com/users/JayWood","html_url":"https://github.com/JayWood","followers_url":"https://api.github.com/users/JayWood/followers","following_url":"https://api.github.com/users/JayWood/following{/other_user}","gists_url":"https://api.github.com/users/JayWood/gists{/gist_id}","starred_url":"https://api.github.com/users/JayWood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JayWood/subscriptions","organizations_url":"https://api.github.com/users/JayWood/orgs","repos_url":"https://api.github.com/users/JayWood/repos","events_url":"https://api.github.com/users/JayWood/events{/privacy}","received_events_url":"https://api.github.com/users/JayWood/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T16:29:17Z","updated_at":"2016-08-11T16:29:17Z","body":"@jtsternberg I would argue that if a developer has access to create plugins/manage code, he/she could do way worse than stomping on an object property.\r\n\r\nThe over-arching issue for me is that the classes are always appended to the `_get()` method. Not rather they're public or private, but that devs seem to blindly use this plugin generator ( at least in this case ) as a lazy man's way of creating classes, which is when this happens.\r\n\r\nI'm not saying remove this functionality, not by a long shot, it definitely has it's uses.  What I am saying, however, is make it optional ( even if it's on by default )."}}
{"actor":{"display_login":"JayWood"}}