{"action":"created","issue":{"url":"https://api.github.com/repos/python-attrs/attrs/issues/215","repository_url":"https://api.github.com/repos/python-attrs/attrs","labels_url":"https://api.github.com/repos/python-attrs/attrs/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/python-attrs/attrs/issues/215/comments","events_url":"https://api.github.com/repos/python-attrs/attrs/issues/215/events","html_url":"https://github.com/python-attrs/attrs/issues/215","id":238475441,"number":215,"title":"[RFC] First class type support","user":{"login":"hynek","id":41240,"avatar_url":"https://avatars0.githubusercontent.com/u/41240?v=3","gravatar_id":"","url":"https://api.github.com/users/hynek","html_url":"https://github.com/hynek","followers_url":"https://api.github.com/users/hynek/followers","following_url":"https://api.github.com/users/hynek/following{/other_user}","gists_url":"https://api.github.com/users/hynek/gists{/gist_id}","starred_url":"https://api.github.com/users/hynek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hynek/subscriptions","organizations_url":"https://api.github.com/users/hynek/orgs","repos_url":"https://api.github.com/users/hynek/repos","events_url":"https://api.github.com/users/hynek/events{/privacy}","received_events_url":"https://api.github.com/users/hynek/received_events","type":"User","site_admin":false},"labels":[{"id":428248824,"url":"https://api.github.com/repos/python-attrs/attrs/labels/Feature","name":"Feature","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-06-26T08:38:58Z","updated_at":"2017-06-29T09:06:39Z","closed_at":null,"body":"This is kind of part of #214 but it stands for itself too.\r\n\r\nSomething like:\r\n\r\n```python\r\n@attr.s(check_types=True)\r\nclass C:\r\n    x = attr.ib(type=int)\r\n```\r\n\r\nought to work.\r\n\r\nRegardless of checking the type, the type information has to be accessible somewhere so we can have first-class deserialization support."},"comment":{"url":"https://api.github.com/repos/python-attrs/attrs/issues/comments/311907914","html_url":"https://github.com/python-attrs/attrs/issues/215#issuecomment-311907914","issue_url":"https://api.github.com/repos/python-attrs/attrs/issues/215","id":311907914,"user":{"login":"hynek","id":41240,"avatar_url":"https://avatars0.githubusercontent.com/u/41240?v=3","gravatar_id":"","url":"https://api.github.com/users/hynek","html_url":"https://github.com/hynek","followers_url":"https://api.github.com/users/hynek/followers","following_url":"https://api.github.com/users/hynek/following{/other_user}","gists_url":"https://api.github.com/users/hynek/gists{/gist_id}","starred_url":"https://api.github.com/users/hynek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hynek/subscriptions","organizations_url":"https://api.github.com/users/hynek/orgs","repos_url":"https://api.github.com/users/hynek/repos","events_url":"https://api.github.com/users/hynek/events{/privacy}","received_events_url":"https://api.github.com/users/hynek/received_events","type":"User","site_admin":false},"created_at":"2017-06-29T09:06:39Z","updated_at":"2017-06-29T09:06:39Z","body":"Wait, wrong ticket! :) Yeah, no still no idea yet!"}}
{"actor":{"display_login":"hynek"}}