{"action":"created","issue":{"url":"https://api.github.com/repos/Spinoco/protocol/issues/15","repository_url":"https://api.github.com/repos/Spinoco/protocol","labels_url":"https://api.github.com/repos/Spinoco/protocol/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/Spinoco/protocol/issues/15/comments","events_url":"https://api.github.com/repos/Spinoco/protocol/issues/15/events","html_url":"https://github.com/Spinoco/protocol/issues/15","id":273525796,"number":15,"title":"don't use reflection in headers","user":{"login":"fommil","id":1914041,"avatar_url":"https://avatars2.githubusercontent.com/u/1914041?v=4","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"labels":[{"id":409068308,"url":"https://api.github.com/repos/Spinoco/protocol/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-13T18:11:15Z","updated_at":"2018-02-02T16:01:27Z","closed_at":null,"author_association":"NONE","body":"this could be done with compiletime evidence\r\nhttps://github.com/Spinoco/protocol/blob/master/http/src/main/scala/spinoco/protocol/http/header/DefaultHeader.scala\r\n\r\ne.g. `shapeless.Typeable`"},"comment":{"url":"https://api.github.com/repos/Spinoco/protocol/issues/comments/362626655","html_url":"https://github.com/Spinoco/protocol/issues/15#issuecomment-362626655","issue_url":"https://api.github.com/repos/Spinoco/protocol/issues/15","id":362626655,"user":{"login":"AdamChlupacek","id":1897389,"avatar_url":"https://avatars0.githubusercontent.com/u/1897389?v=4","gravatar_id":"","url":"https://api.github.com/users/AdamChlupacek","html_url":"https://github.com/AdamChlupacek","followers_url":"https://api.github.com/users/AdamChlupacek/followers","following_url":"https://api.github.com/users/AdamChlupacek/following{/other_user}","gists_url":"https://api.github.com/users/AdamChlupacek/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamChlupacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamChlupacek/subscriptions","organizations_url":"https://api.github.com/users/AdamChlupacek/orgs","repos_url":"https://api.github.com/users/AdamChlupacek/repos","events_url":"https://api.github.com/users/AdamChlupacek/events{/privacy}","received_events_url":"https://api.github.com/users/AdamChlupacek/received_events","type":"User","site_admin":false},"created_at":"2018-02-02T16:01:27Z","updated_at":"2018-02-02T16:01:27Z","author_association":"OWNER","body":"I do like the contextual, but only as a syntax help. Since completely dropping the classes in my opinion would make it much harder in terms of figuring out what header can have what fields.\r\n\r\nI do agree we should drop the reflection in favour if `shapeless.Typeable`, will get a PR together for it."}}
{"actor":{"display_login":"AdamChlupacek"}}