{"action":"created","issue":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/6218","repository_url":"https://api.github.com/repos/crystal-lang/crystal","labels_url":"https://api.github.com/repos/crystal-lang/crystal/issues/6218/labels{/name}","comments_url":"https://api.github.com/repos/crystal-lang/crystal/issues/6218/comments","events_url":"https://api.github.com/repos/crystal-lang/crystal/issues/6218/events","html_url":"https://github.com/crystal-lang/crystal/pull/6218","id":333566375,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1NzQ2MTc0","number":6218,"title":"Add missing JSON field to docs generator output for constants","user":{"login":"straight-shoota","id":466378,"node_id":"MDQ6VXNlcjQ2NjM3OA==","avatar_url":"https://avatars0.githubusercontent.com/u/466378?v=4","gravatar_id":"","url":"https://api.github.com/users/straight-shoota","html_url":"https://github.com/straight-shoota","followers_url":"https://api.github.com/users/straight-shoota/followers","following_url":"https://api.github.com/users/straight-shoota/following{/other_user}","gists_url":"https://api.github.com/users/straight-shoota/gists{/gist_id}","starred_url":"https://api.github.com/users/straight-shoota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/straight-shoota/subscriptions","organizations_url":"https://api.github.com/users/straight-shoota/orgs","repos_url":"https://api.github.com/users/straight-shoota/repos","events_url":"https://api.github.com/users/straight-shoota/events{/privacy}","received_events_url":"https://api.github.com/users/straight-shoota/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-19T08:21:16Z","updated_at":"2018-06-21T08:42:38Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/crystal-lang/crystal/pulls/6218","html_url":"https://github.com/crystal-lang/crystal/pull/6218","diff_url":"https://github.com/crystal-lang/crystal/pull/6218.diff","patch_url":"https://github.com/crystal-lang/crystal/pull/6218.patch"},"body":"Fixes #6202\r\n\r\nThe `id` field was missing in the JSON serialization of constants, resulting in an `undefined` value when using it to generate link targets for search results.\r\nI added `Constant#id` and used this in the template as well, instead of reusing `Constant#name` to be more explicit (although both methods return the same value) and to have a consistent interface like the other classes where `id` and `name` are usually different."},"comment":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/comments/399024035","html_url":"https://github.com/crystal-lang/crystal/pull/6218#issuecomment-399024035","issue_url":"https://api.github.com/repos/crystal-lang/crystal/issues/6218","id":399024035,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTAyNDAzNQ==","user":{"login":"bcardiff","id":459923,"node_id":"MDQ6VXNlcjQ1OTkyMw==","avatar_url":"https://avatars1.githubusercontent.com/u/459923?v=4","gravatar_id":"","url":"https://api.github.com/users/bcardiff","html_url":"https://github.com/bcardiff","followers_url":"https://api.github.com/users/bcardiff/followers","following_url":"https://api.github.com/users/bcardiff/following{/other_user}","gists_url":"https://api.github.com/users/bcardiff/gists{/gist_id}","starred_url":"https://api.github.com/users/bcardiff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcardiff/subscriptions","organizations_url":"https://api.github.com/users/bcardiff/orgs","repos_url":"https://api.github.com/users/bcardiff/repos","events_url":"https://api.github.com/users/bcardiff/events{/privacy}","received_events_url":"https://api.github.com/users/bcardiff/received_events","type":"User","site_admin":false},"created_at":"2018-06-21T08:42:38Z","updated_at":"2018-06-21T08:42:38Z","author_association":"MEMBER","body":"@straight-shoota Could you point where the id read and missing?"}}
{"actor":{"display_login":"bcardiff"}}