{"action":"opened","number":982,"pull_request":{"url":"https://api.github.com/repos/inversify/InversifyJS/pulls/982","id":223840558,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzODQwNTU4","html_url":"https://github.com/inversify/InversifyJS/pull/982","diff_url":"https://github.com/inversify/InversifyJS/pull/982.diff","patch_url":"https://github.com/inversify/InversifyJS/pull/982.patch","issue_url":"https://api.github.com/repos/inversify/InversifyJS/issues/982","number":982,"state":"open","locked":false,"title":"Add inversify-token to the Ecosystem wiki page.","user":{"login":"mscharley","id":336509,"node_id":"MDQ6VXNlcjMzNjUwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/336509?v=4","gravatar_id":"","url":"https://api.github.com/users/mscharley","html_url":"https://github.com/mscharley","followers_url":"https://api.github.com/users/mscharley/followers","following_url":"https://api.github.com/users/mscharley/following{/other_user}","gists_url":"https://api.github.com/users/mscharley/gists{/gist_id}","starred_url":"https://api.github.com/users/mscharley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscharley/subscriptions","organizations_url":"https://api.github.com/users/mscharley/orgs","repos_url":"https://api.github.com/users/mscharley/repos","events_url":"https://api.github.com/users/mscharley/events{/privacy}","received_events_url":"https://api.github.com/users/mscharley/received_events","type":"User","site_admin":false},"body":"<!--- Provide a general summary of your changes in the Title above -->\r\n\r\n## Description\r\n\r\n<!--- Describe your changes in detail -->\r\nAdding a link to my new Inversify related project to the Ecosystem page.\r\n\r\n## Related Issue\r\n\r\n<!--- This project only accepts pull requests related to open issues -->\r\n<!--- If suggesting a new feature or change, please discuss it in an issue first -->\r\n<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->\r\n<!--- Please link to the issue here: -->\r\nNone.\r\n\r\n## Motivation and Context\r\n\r\n<!--- Why is this change required? What problem does it solve? -->\r\n\r\nThe problem that this project is trying to solve is that it is trivial to introduce bugs unintentionally currently when using TypeScript with Inversify. Consider the following:\r\n\r\n```\r\ncontainer.bind<string>(\"test\", \"value\");\r\ncontainer.get<number>(\"test\") // Actually \"value\", not a number.\r\n```\r\n\r\nAcross many classes and interfaces, this sort of thing can easily happen, especially when doing refactoring. This library lets you do the following instead.\r\n\r\n```\r\ncontainer.bindToken(TestToken, \"value\");\r\ncontainer.getToken(TestToken); // statically typed as `TokenType<TestToken>` === `string`.\r\n```\r\n\r\nThere are more extended usage examples in the README, but this is the basic gist of the problem this library is trying to solve.\r\n\r\n## How Has This Been Tested?\r\n\r\n<!--- Please describe in detail how you tested your changes. -->\r\n<!--- Include details of your testing environment, and the tests you ran to -->\r\n<!--- see how your change affects other areas of the code, etc. -->\r\nI've been using this project for all injection in a project at work with no issues so far.\r\n\r\n## Types of changes\r\n\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n\r\n- [x] Updated docs / Refactor code / Added a tests case (non-breaking change)\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n\r\n- [x] My code follows the code style of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n- [x] I have read the **CONTRIBUTING** document.\r\n- [x] I have added tests to cover my changes.\r\n- [x] All new and existing tests passed.\r\n- [ ] I have updated the changelog.\r\n","created_at":"2018-10-18T06:38:56Z","updated_at":"2018-10-18T06:38:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/inversify/InversifyJS/pulls/982/commits","review_comments_url":"https://api.github.com/repos/inversify/InversifyJS/pulls/982/comments","review_comment_url":"https://api.github.com/repos/inversify/InversifyJS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inversify/InversifyJS/issues/982/comments","statuses_url":"https://api.github.com/repos/inversify/InversifyJS/statuses/5eadb85ec2b8bba43167358e67a60fc07090f3bc","head":{"label":"mscharley:patch-1","ref":"patch-1","sha":"5eadb85ec2b8bba43167358e67a60fc07090f3bc","user":{"login":"mscharley","id":336509,"node_id":"MDQ6VXNlcjMzNjUwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/336509?v=4","gravatar_id":"","url":"https://api.github.com/users/mscharley","html_url":"https://github.com/mscharley","followers_url":"https://api.github.com/users/mscharley/followers","following_url":"https://api.github.com/users/mscharley/following{/other_user}","gists_url":"https://api.github.com/users/mscharley/gists{/gist_id}","starred_url":"https://api.github.com/users/mscharley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscharley/subscriptions","organizations_url":"https://api.github.com/users/mscharley/orgs","repos_url":"https://api.github.com/users/mscharley/repos","events_url":"https://api.github.com/users/mscharley/events{/privacy}","received_events_url":"https://api.github.com/users/mscharley/received_events","type":"User","site_admin":false},"repo":{"id":153571820,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM1NzE4MjA=","name":"InversifyJS","full_name":"mscharley/InversifyJS","private":false,"owner":{"login":"mscharley","id":336509,"node_id":"MDQ6VXNlcjMzNjUwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/336509?v=4","gravatar_id":"","url":"https://api.github.com/users/mscharley","html_url":"https://github.com/mscharley","followers_url":"https://api.github.com/users/mscharley/followers","following_url":"https://api.github.com/users/mscharley/following{/other_user}","gists_url":"https://api.github.com/users/mscharley/gists{/gist_id}","starred_url":"https://api.github.com/users/mscharley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscharley/subscriptions","organizations_url":"https://api.github.com/users/mscharley/orgs","repos_url":"https://api.github.com/users/mscharley/repos","events_url":"https://api.github.com/users/mscharley/events{/privacy}","received_events_url":"https://api.github.com/users/mscharley/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mscharley/InversifyJS","description":"A powerful and lightweight inversion of control container  for JavaScript & Node.js apps powered by TypeScript.","fork":true,"url":"https://api.github.com/repos/mscharley/InversifyJS","forks_url":"https://api.github.com/repos/mscharley/InversifyJS/forks","keys_url":"https://api.github.com/repos/mscharley/InversifyJS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mscharley/InversifyJS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mscharley/InversifyJS/teams","hooks_url":"https://api.github.com/repos/mscharley/InversifyJS/hooks","issue_events_url":"https://api.github.com/repos/mscharley/InversifyJS/issues/events{/number}","events_url":"https://api.github.com/repos/mscharley/InversifyJS/events","assignees_url":"https://api.github.com/repos/mscharley/InversifyJS/assignees{/user}","branches_url":"https://api.github.com/repos/mscharley/InversifyJS/branches{/branch}","tags_url":"https://api.github.com/repos/mscharley/InversifyJS/tags","blobs_url":"https://api.github.com/repos/mscharley/InversifyJS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mscharley/InversifyJS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mscharley/InversifyJS/git/refs{/sha}","trees_url":"https://api.github.com/repos/mscharley/InversifyJS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mscharley/InversifyJS/statuses/{sha}","languages_url":"https://api.github.com/repos/mscharley/InversifyJS/languages","stargazers_url":"https://api.github.com/repos/mscharley/InversifyJS/stargazers","contributors_url":"https://api.github.com/repos/mscharley/InversifyJS/contributors","subscribers_url":"https://api.github.com/repos/mscharley/InversifyJS/subscribers","subscription_url":"https://api.github.com/repos/mscharley/InversifyJS/subscription","commits_url":"https://api.github.com/repos/mscharley/InversifyJS/commits{/sha}","git_commits_url":"https://api.github.com/repos/mscharley/InversifyJS/git/commits{/sha}","comments_url":"https://api.github.com/repos/mscharley/InversifyJS/comments{/number}","issue_comment_url":"https://api.github.com/repos/mscharley/InversifyJS/issues/comments{/number}","contents_url":"https://api.github.com/repos/mscharley/InversifyJS/contents/{+path}","compare_url":"https://api.github.com/repos/mscharley/InversifyJS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mscharley/InversifyJS/merges","archive_url":"https://api.github.com/repos/mscharley/InversifyJS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mscharley/InversifyJS/downloads","issues_url":"https://api.github.com/repos/mscharley/InversifyJS/issues{/number}","pulls_url":"https://api.github.com/repos/mscharley/InversifyJS/pulls{/number}","milestones_url":"https://api.github.com/repos/mscharley/InversifyJS/milestones{/number}","notifications_url":"https://api.github.com/repos/mscharley/InversifyJS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mscharley/InversifyJS/labels{/name}","releases_url":"https://api.github.com/repos/mscharley/InversifyJS/releases{/id}","deployments_url":"https://api.github.com/repos/mscharley/InversifyJS/deployments","created_at":"2018-10-18T06:07:52Z","updated_at":"2018-10-18T06:07:55Z","pushed_at":"2018-10-18T06:13:47Z","git_url":"git://github.com/mscharley/InversifyJS.git","ssh_url":"git@github.com:mscharley/InversifyJS.git","clone_url":"https://github.com/mscharley/InversifyJS.git","svn_url":"https://github.com/mscharley/InversifyJS","homepage":"http://inversify.io/","size":1601,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"inversify:master","ref":"master","sha":"37884a6133ed90c921a3bd9252a204b75de5a7a9","user":{"login":"inversify","id":11887183,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODg3MTgz","avatar_url":"https://avatars3.githubusercontent.com/u/11887183?v=4","gravatar_id":"","url":"https://api.github.com/users/inversify","html_url":"https://github.com/inversify","followers_url":"https://api.github.com/users/inversify/followers","following_url":"https://api.github.com/users/inversify/following{/other_user}","gists_url":"https://api.github.com/users/inversify/gists{/gist_id}","starred_url":"https://api.github.com/users/inversify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inversify/subscriptions","organizations_url":"https://api.github.com/users/inversify/orgs","repos_url":"https://api.github.com/users/inversify/repos","events_url":"https://api.github.com/users/inversify/events{/privacy}","received_events_url":"https://api.github.com/users/inversify/received_events","type":"Organization","site_admin":false},"repo":{"id":33568214,"node_id":"MDEwOlJlcG9zaXRvcnkzMzU2ODIxNA==","name":"InversifyJS","full_name":"inversify/InversifyJS","private":false,"owner":{"login":"inversify","id":11887183,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODg3MTgz","avatar_url":"https://avatars3.githubusercontent.com/u/11887183?v=4","gravatar_id":"","url":"https://api.github.com/users/inversify","html_url":"https://github.com/inversify","followers_url":"https://api.github.com/users/inversify/followers","following_url":"https://api.github.com/users/inversify/following{/other_user}","gists_url":"https://api.github.com/users/inversify/gists{/gist_id}","starred_url":"https://api.github.com/users/inversify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inversify/subscriptions","organizations_url":"https://api.github.com/users/inversify/orgs","repos_url":"https://api.github.com/users/inversify/repos","events_url":"https://api.github.com/users/inversify/events{/privacy}","received_events_url":"https://api.github.com/users/inversify/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/inversify/InversifyJS","description":"A powerful and lightweight inversion of control container  for JavaScript & Node.js apps powered by TypeScript.","fork":false,"url":"https://api.github.com/repos/inversify/InversifyJS","forks_url":"https://api.github.com/repos/inversify/InversifyJS/forks","keys_url":"https://api.github.com/repos/inversify/InversifyJS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inversify/InversifyJS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inversify/InversifyJS/teams","hooks_url":"https://api.github.com/repos/inversify/InversifyJS/hooks","issue_events_url":"https://api.github.com/repos/inversify/InversifyJS/issues/events{/number}","events_url":"https://api.github.com/repos/inversify/InversifyJS/events","assignees_url":"https://api.github.com/repos/inversify/InversifyJS/assignees{/user}","branches_url":"https://api.github.com/repos/inversify/InversifyJS/branches{/branch}","tags_url":"https://api.github.com/repos/inversify/InversifyJS/tags","blobs_url":"https://api.github.com/repos/inversify/InversifyJS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inversify/InversifyJS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inversify/InversifyJS/git/refs{/sha}","trees_url":"https://api.github.com/repos/inversify/InversifyJS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inversify/InversifyJS/statuses/{sha}","languages_url":"https://api.github.com/repos/inversify/InversifyJS/languages","stargazers_url":"https://api.github.com/repos/inversify/InversifyJS/stargazers","contributors_url":"https://api.github.com/repos/inversify/InversifyJS/contributors","subscribers_url":"https://api.github.com/repos/inversify/InversifyJS/subscribers","subscription_url":"https://api.github.com/repos/inversify/InversifyJS/subscription","commits_url":"https://api.github.com/repos/inversify/InversifyJS/commits{/sha}","git_commits_url":"https://api.github.com/repos/inversify/InversifyJS/git/commits{/sha}","comments_url":"https://api.github.com/repos/inversify/InversifyJS/comments{/number}","issue_comment_url":"https://api.github.com/repos/inversify/InversifyJS/issues/comments{/number}","contents_url":"https://api.github.com/repos/inversify/InversifyJS/contents/{+path}","compare_url":"https://api.github.com/repos/inversify/InversifyJS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inversify/InversifyJS/merges","archive_url":"https://api.github.com/repos/inversify/InversifyJS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inversify/InversifyJS/downloads","issues_url":"https://api.github.com/repos/inversify/InversifyJS/issues{/number}","pulls_url":"https://api.github.com/repos/inversify/InversifyJS/pulls{/number}","milestones_url":"https://api.github.com/repos/inversify/InversifyJS/milestones{/number}","notifications_url":"https://api.github.com/repos/inversify/InversifyJS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inversify/InversifyJS/labels{/name}","releases_url":"https://api.github.com/repos/inversify/InversifyJS/releases{/id}","deployments_url":"https://api.github.com/repos/inversify/InversifyJS/deployments","created_at":"2015-04-07T21:04:38Z","updated_at":"2018-10-18T06:32:37Z","pushed_at":"2018-10-17T16:42:09Z","git_url":"git://github.com/inversify/InversifyJS.git","ssh_url":"git@github.com:inversify/InversifyJS.git","clone_url":"https://github.com/inversify/InversifyJS.git","svn_url":"https://github.com/inversify/InversifyJS","homepage":"http://inversify.io/","size":1601,"stargazers_count":3284,"watchers_count":3284,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":227,"mirror_url":null,"archived":false,"open_issues_count":89,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":227,"open_issues":89,"watchers":3284,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inversify/InversifyJS/pulls/982"},"html":{"href":"https://github.com/inversify/InversifyJS/pull/982"},"issue":{"href":"https://api.github.com/repos/inversify/InversifyJS/issues/982"},"comments":{"href":"https://api.github.com/repos/inversify/InversifyJS/issues/982/comments"},"review_comments":{"href":"https://api.github.com/repos/inversify/InversifyJS/pulls/982/comments"},"review_comment":{"href":"https://api.github.com/repos/inversify/InversifyJS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inversify/InversifyJS/pulls/982/commits"},"statuses":{"href":"https://api.github.com/repos/inversify/InversifyJS/statuses/5eadb85ec2b8bba43167358e67a60fc07090f3bc"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"mscharley"}}