{"action":"opened","issue":{"url":"https://api.github.com/repos/codeschool/sqlite-parser/issues/30","repository_url":"https://api.github.com/repos/codeschool/sqlite-parser","labels_url":"https://api.github.com/repos/codeschool/sqlite-parser/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/codeschool/sqlite-parser/issues/30/comments","events_url":"https://api.github.com/repos/codeschool/sqlite-parser/issues/30/events","html_url":"https://github.com/codeschool/sqlite-parser/issues/30","id":184867710,"number":30,"title":"Feature Request: Add comment nodes to AST","user":{"login":"jdrew1303","id":2535432,"avatar_url":"https://avatars.githubusercontent.com/u/2535432?v=3","gravatar_id":"","url":"https://api.github.com/users/jdrew1303","html_url":"https://github.com/jdrew1303","followers_url":"https://api.github.com/users/jdrew1303/followers","following_url":"https://api.github.com/users/jdrew1303/following{/other_user}","gists_url":"https://api.github.com/users/jdrew1303/gists{/gist_id}","starred_url":"https://api.github.com/users/jdrew1303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdrew1303/subscriptions","organizations_url":"https://api.github.com/users/jdrew1303/orgs","repos_url":"https://api.github.com/users/jdrew1303/repos","events_url":"https://api.github.com/users/jdrew1303/events{/privacy}","received_events_url":"https://api.github.com/users/jdrew1303/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-24T15:05:58Z","updated_at":"2016-10-24T15:05:58Z","closed_at":null,"body":"Adding in nodes to handle comments is needed to support other tooling that uses the parser to apply transformations to the entire codebase. \r\n\r\nIf we were to apply a refactoring using the following pipeline `parse current codebase -> kebab-case all table and column names -> generate code from AST` then the user would lose all comments that they had on their code.\r\n\r\nIt would also allow documentation generators to leverage the parser.\r\n\r\n(If the comment nodes were to be based off of the ES6 ast, allowing it to use something like Estraverse, then that would be perfect 😉  👍  )"}}
{"actor":{"display_login":"jdrew1303"}}