{"action":"closed","issue":{"url":"https://api.github.com/repos/vektah/gqlgen/issues/145","repository_url":"https://api.github.com/repos/vektah/gqlgen","labels_url":"https://api.github.com/repos/vektah/gqlgen/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/vektah/gqlgen/issues/145/comments","events_url":"https://api.github.com/repos/vektah/gqlgen/issues/145/events","html_url":"https://github.com/vektah/gqlgen/issues/145","id":334774482,"node_id":"MDU6SXNzdWUzMzQ3NzQ0ODI=","number":145,"title":"Adding a comment in an enum copies to the Go code and can break with multi-line","user":{"login":"polds","id":2372558,"node_id":"MDQ6VXNlcjIzNzI1NTg=","avatar_url":"https://avatars0.githubusercontent.com/u/2372558?v=4","gravatar_id":"","url":"https://api.github.com/users/polds","html_url":"https://github.com/polds","followers_url":"https://api.github.com/users/polds/followers","following_url":"https://api.github.com/users/polds/following{/other_user}","gists_url":"https://api.github.com/users/polds/gists{/gist_id}","starred_url":"https://api.github.com/users/polds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polds/subscriptions","organizations_url":"https://api.github.com/users/polds/orgs","repos_url":"https://api.github.com/users/polds/repos","events_url":"https://api.github.com/users/polds/events{/privacy}","received_events_url":"https://api.github.com/users/polds/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-22T07:28:39Z","updated_at":"2018-07-14T07:01:29Z","closed_at":"2018-07-14T07:01:29Z","author_association":"NONE","body":"### Expected Behaviour\r\n\r\nmodels_gen.go\r\n```\r\nconst (\r\n   // This does things.\r\n   // Neat. (multiline)\r\n   MyEnumVal  MyEnum = \"VAL\"\r\n)\r\n```\r\n\r\n\r\n### Actual Behavior\r\n\r\nmodels_gen.go\r\n```\r\nconst (\r\n   MyEnumVal  MyEnum = \"VAL\" // This does things.\r\n   Neat. (multiline)\r\n)\r\n```\r\n\r\n\r\n### Minimal graphql.schema and models to reproduce\r\n```\r\nenum MyEnum {\r\n   # This does things.\r\n   # Neat. (multiline)\r\n   VAL\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"vektah"}}