{"action":"created","issue":{"url":"https://api.github.com/repos/AliSoftware/Dip/issues/50","repository_url":"https://api.github.com/repos/AliSoftware/Dip","labels_url":"https://api.github.com/repos/AliSoftware/Dip/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/AliSoftware/Dip/issues/50/comments","events_url":"https://api.github.com/repos/AliSoftware/Dip/issues/50/events","html_url":"https://github.com/AliSoftware/Dip/pull/50","id":135793581,"number":50,"title":"DependencyTagConvertible for better typed Tags","user":{"login":"gavrix","id":354010,"avatar_url":"https://avatars.githubusercontent.com/u/354010?v=3","gravatar_id":"","url":"https://api.github.com/users/gavrix","html_url":"https://github.com/gavrix","followers_url":"https://api.github.com/users/gavrix/followers","following_url":"https://api.github.com/users/gavrix/following{/other_user}","gists_url":"https://api.github.com/users/gavrix/gists{/gist_id}","starred_url":"https://api.github.com/users/gavrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavrix/subscriptions","organizations_url":"https://api.github.com/users/gavrix/orgs","repos_url":"https://api.github.com/users/gavrix/repos","events_url":"https://api.github.com/users/gavrix/events{/privacy}","received_events_url":"https://api.github.com/users/gavrix/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-23T16:49:12Z","updated_at":"2016-03-19T10:51:12Z","closed_at":"2016-03-19T10:50:20Z","pull_request":{"url":"https://api.github.com/repos/AliSoftware/Dip/pulls/50","html_url":"https://github.com/AliSoftware/Dip/pull/50","diff_url":"https://github.com/AliSoftware/Dip/pull/50.diff","patch_url":"https://github.com/AliSoftware/Dip/pull/50.patch"},"body":"This offers to remove `Tag` from `register` and `resolve` APIs  in favour of `DependencyTagConvertible` protocol, which may represent Tag itself as well as any other type conforming to this protocol. \r\nSpecifically, this allows me to use custom enums (conforming to `DependencyTagConvertible`) as tags instead of `String` or `Int` literals, making it more type-safe.\r\n\r\nI modified SampleApp to use such an enum for tags. [see here](https://github.com/AliSoftware/Dip/compare/develop...gavrix:develop#diff-f678440884b69096a2fcf0b90b04c486R61)\r\n\r\nAt the same time, it is still possible to use `String` and `Int` literals as tags, so this PR adds more flexibility retaining existing functionality"},"comment":{"url":"https://api.github.com/repos/AliSoftware/Dip/issues/comments/198682094","html_url":"https://github.com/AliSoftware/Dip/pull/50#issuecomment-198682094","issue_url":"https://api.github.com/repos/AliSoftware/Dip/issues/50","id":198682094,"user":{"login":"ilyapuchka","id":1488293,"avatar_url":"https://avatars.githubusercontent.com/u/1488293?v=3","gravatar_id":"","url":"https://api.github.com/users/ilyapuchka","html_url":"https://github.com/ilyapuchka","followers_url":"https://api.github.com/users/ilyapuchka/followers","following_url":"https://api.github.com/users/ilyapuchka/following{/other_user}","gists_url":"https://api.github.com/users/ilyapuchka/gists{/gist_id}","starred_url":"https://api.github.com/users/ilyapuchka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilyapuchka/subscriptions","organizations_url":"https://api.github.com/users/ilyapuchka/orgs","repos_url":"https://api.github.com/users/ilyapuchka/repos","events_url":"https://api.github.com/users/ilyapuchka/events{/privacy}","received_events_url":"https://api.github.com/users/ilyapuchka/received_events","type":"User","site_admin":false},"created_at":"2016-03-19T10:51:12Z","updated_at":"2016-03-19T10:51:12Z","body":"@gavrix Thanks!"}}