{"action":"closed","number":120,"pull_request":{"url":"https://api.github.com/repos/microstates/microstates.js/pulls/120","id":189247758,"html_url":"https://github.com/microstates/microstates.js/pull/120","diff_url":"https://github.com/microstates/microstates.js/pull/120.diff","patch_url":"https://github.com/microstates/microstates.js/pull/120.patch","issue_url":"https://api.github.com/repos/microstates/microstates.js/issues/120","number":120,"state":"closed","locked":false,"title":"Loading typeclasses before everything else","user":{"login":"taras","id":74687,"avatar_url":"https://avatars2.githubusercontent.com/u/74687?v=4","gravatar_id":"","url":"https://api.github.com/users/taras","html_url":"https://github.com/taras","followers_url":"https://api.github.com/users/taras/followers","following_url":"https://api.github.com/users/taras/following{/other_user}","gists_url":"https://api.github.com/users/taras/gists{/gist_id}","starred_url":"https://api.github.com/users/taras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taras/subscriptions","organizations_url":"https://api.github.com/users/taras/orgs","repos_url":"https://api.github.com/users/taras/repos","events_url":"https://api.github.com/users/taras/events{/privacy}","received_events_url":"https://api.github.com/users/taras/received_events","type":"User","site_admin":false},"body":"Microstates fails in weird ways when typeclasses are not loaded early on. This PR changes type classes setup to be done on import of the microstate. ","created_at":"2018-05-20T19:08:43Z","updated_at":"2018-05-20T19:13:50Z","closed_at":"2018-05-20T19:13:50Z","merged_at":"2018-05-20T19:13:50Z","merge_commit_sha":"29c562fa7fb84139c82f750dbd540406e5b6834c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/microstates/microstates.js/pulls/120/commits","review_comments_url":"https://api.github.com/repos/microstates/microstates.js/pulls/120/comments","review_comment_url":"https://api.github.com/repos/microstates/microstates.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/microstates/microstates.js/issues/120/comments","statuses_url":"https://api.github.com/repos/microstates/microstates.js/statuses/190a8ebfd6d82884c3b7b0af4bbedcfea0ba3f11","head":{"label":"microstates:tm/load-typeclasses","ref":"tm/load-typeclasses","sha":"190a8ebfd6d82884c3b7b0af4bbedcfea0ba3f11","user":{"login":"microstates","id":32446710,"avatar_url":"https://avatars3.githubusercontent.com/u/32446710?v=4","gravatar_id":"","url":"https://api.github.com/users/microstates","html_url":"https://github.com/microstates","followers_url":"https://api.github.com/users/microstates/followers","following_url":"https://api.github.com/users/microstates/following{/other_user}","gists_url":"https://api.github.com/users/microstates/gists{/gist_id}","starred_url":"https://api.github.com/users/microstates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/microstates/subscriptions","organizations_url":"https://api.github.com/users/microstates/orgs","repos_url":"https://api.github.com/users/microstates/repos","events_url":"https://api.github.com/users/microstates/events{/privacy}","received_events_url":"https://api.github.com/users/microstates/received_events","type":"Organization","site_admin":false},"repo":{"id":61859738,"name":"microstates.js","full_name":"microstates/microstates.js","owner":{"login":"microstates","id":32446710,"avatar_url":"https://avatars3.githubusercontent.com/u/32446710?v=4","gravatar_id":"","url":"https://api.github.com/users/microstates","html_url":"https://github.com/microstates","followers_url":"https://api.github.com/users/microstates/followers","following_url":"https://api.github.com/users/microstates/following{/other_user}","gists_url":"https://api.github.com/users/microstates/gists{/gist_id}","starred_url":"https://api.github.com/users/microstates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/microstates/subscriptions","organizations_url":"https://api.github.com/users/microstates/orgs","repos_url":"https://api.github.com/users/microstates/repos","events_url":"https://api.github.com/users/microstates/events{/privacy}","received_events_url":"https://api.github.com/users/microstates/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/microstates/microstates.js","description":"Composable State Primitives for JavaScript","fork":false,"url":"https://api.github.com/repos/microstates/microstates.js","forks_url":"https://api.github.com/repos/microstates/microstates.js/forks","keys_url":"https://api.github.com/repos/microstates/microstates.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/microstates/microstates.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/microstates/microstates.js/teams","hooks_url":"https://api.github.com/repos/microstates/microstates.js/hooks","issue_events_url":"https://api.github.com/repos/microstates/microstates.js/issues/events{/number}","events_url":"https://api.github.com/repos/microstates/microstates.js/events","assignees_url":"https://api.github.com/repos/microstates/microstates.js/assignees{/user}","branches_url":"https://api.github.com/repos/microstates/microstates.js/branches{/branch}","tags_url":"https://api.github.com/repos/microstates/microstates.js/tags","blobs_url":"https://api.github.com/repos/microstates/microstates.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/microstates/microstates.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/microstates/microstates.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/microstates/microstates.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/microstates/microstates.js/statuses/{sha}","languages_url":"https://api.github.com/repos/microstates/microstates.js/languages","stargazers_url":"https://api.github.com/repos/microstates/microstates.js/stargazers","contributors_url":"https://api.github.com/repos/microstates/microstates.js/contributors","subscribers_url":"https://api.github.com/repos/microstates/microstates.js/subscribers","subscription_url":"https://api.github.com/repos/microstates/microstates.js/subscription","commits_url":"https://api.github.com/repos/microstates/microstates.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/microstates/microstates.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/microstates/microstates.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/microstates/microstates.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/microstates/microstates.js/contents/{+path}","compare_url":"https://api.github.com/repos/microstates/microstates.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/microstates/microstates.js/merges","archive_url":"https://api.github.com/repos/microstates/microstates.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/microstates/microstates.js/downloads","issues_url":"https://api.github.com/repos/microstates/microstates.js/issues{/number}","pulls_url":"https://api.github.com/repos/microstates/microstates.js/pulls{/number}","milestones_url":"https://api.github.com/repos/microstates/microstates.js/milestones{/number}","notifications_url":"https://api.github.com/repos/microstates/microstates.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/microstates/microstates.js/labels{/name}","releases_url":"https://api.github.com/repos/microstates/microstates.js/releases{/id}","deployments_url":"https://api.github.com/repos/microstates/microstates.js/deployments","created_at":"2016-06-24T05:45:06Z","updated_at":"2018-05-20T19:08:29Z","pushed_at":"2018-05-20T19:13:50Z","git_url":"git://github.com/microstates/microstates.js.git","ssh_url":"git@github.com:microstates/microstates.js.git","clone_url":"https://github.com/microstates/microstates.js.git","svn_url":"https://github.com/microstates/microstates.js","homepage":"https://github.com/microstates","size":606,"stargazers_count":81,"watchers_count":81,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":13,"open_issues":19,"watchers":81,"default_branch":"master"}},"base":{"label":"microstates:master","ref":"master","sha":"7c745cef14ee463c96ced82d75d0806d42d5284f","user":{"login":"microstates","id":32446710,"avatar_url":"https://avatars3.githubusercontent.com/u/32446710?v=4","gravatar_id":"","url":"https://api.github.com/users/microstates","html_url":"https://github.com/microstates","followers_url":"https://api.github.com/users/microstates/followers","following_url":"https://api.github.com/users/microstates/following{/other_user}","gists_url":"https://api.github.com/users/microstates/gists{/gist_id}","starred_url":"https://api.github.com/users/microstates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/microstates/subscriptions","organizations_url":"https://api.github.com/users/microstates/orgs","repos_url":"https://api.github.com/users/microstates/repos","events_url":"https://api.github.com/users/microstates/events{/privacy}","received_events_url":"https://api.github.com/users/microstates/received_events","type":"Organization","site_admin":false},"repo":{"id":61859738,"name":"microstates.js","full_name":"microstates/microstates.js","owner":{"login":"microstates","id":32446710,"avatar_url":"https://avatars3.githubusercontent.com/u/32446710?v=4","gravatar_id":"","url":"https://api.github.com/users/microstates","html_url":"https://github.com/microstates","followers_url":"https://api.github.com/users/microstates/followers","following_url":"https://api.github.com/users/microstates/following{/other_user}","gists_url":"https://api.github.com/users/microstates/gists{/gist_id}","starred_url":"https://api.github.com/users/microstates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/microstates/subscriptions","organizations_url":"https://api.github.com/users/microstates/orgs","repos_url":"https://api.github.com/users/microstates/repos","events_url":"https://api.github.com/users/microstates/events{/privacy}","received_events_url":"https://api.github.com/users/microstates/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/microstates/microstates.js","description":"Composable State Primitives for JavaScript","fork":false,"url":"https://api.github.com/repos/microstates/microstates.js","forks_url":"https://api.github.com/repos/microstates/microstates.js/forks","keys_url":"https://api.github.com/repos/microstates/microstates.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/microstates/microstates.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/microstates/microstates.js/teams","hooks_url":"https://api.github.com/repos/microstates/microstates.js/hooks","issue_events_url":"https://api.github.com/repos/microstates/microstates.js/issues/events{/number}","events_url":"https://api.github.com/repos/microstates/microstates.js/events","assignees_url":"https://api.github.com/repos/microstates/microstates.js/assignees{/user}","branches_url":"https://api.github.com/repos/microstates/microstates.js/branches{/branch}","tags_url":"https://api.github.com/repos/microstates/microstates.js/tags","blobs_url":"https://api.github.com/repos/microstates/microstates.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/microstates/microstates.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/microstates/microstates.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/microstates/microstates.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/microstates/microstates.js/statuses/{sha}","languages_url":"https://api.github.com/repos/microstates/microstates.js/languages","stargazers_url":"https://api.github.com/repos/microstates/microstates.js/stargazers","contributors_url":"https://api.github.com/repos/microstates/microstates.js/contributors","subscribers_url":"https://api.github.com/repos/microstates/microstates.js/subscribers","subscription_url":"https://api.github.com/repos/microstates/microstates.js/subscription","commits_url":"https://api.github.com/repos/microstates/microstates.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/microstates/microstates.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/microstates/microstates.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/microstates/microstates.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/microstates/microstates.js/contents/{+path}","compare_url":"https://api.github.com/repos/microstates/microstates.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/microstates/microstates.js/merges","archive_url":"https://api.github.com/repos/microstates/microstates.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/microstates/microstates.js/downloads","issues_url":"https://api.github.com/repos/microstates/microstates.js/issues{/number}","pulls_url":"https://api.github.com/repos/microstates/microstates.js/pulls{/number}","milestones_url":"https://api.github.com/repos/microstates/microstates.js/milestones{/number}","notifications_url":"https://api.github.com/repos/microstates/microstates.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/microstates/microstates.js/labels{/name}","releases_url":"https://api.github.com/repos/microstates/microstates.js/releases{/id}","deployments_url":"https://api.github.com/repos/microstates/microstates.js/deployments","created_at":"2016-06-24T05:45:06Z","updated_at":"2018-05-20T19:08:29Z","pushed_at":"2018-05-20T19:13:50Z","git_url":"git://github.com/microstates/microstates.js.git","ssh_url":"git@github.com:microstates/microstates.js.git","clone_url":"https://github.com/microstates/microstates.js.git","svn_url":"https://github.com/microstates/microstates.js","homepage":"https://github.com/microstates","size":606,"stargazers_count":81,"watchers_count":81,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":13,"open_issues":19,"watchers":81,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/microstates/microstates.js/pulls/120"},"html":{"href":"https://github.com/microstates/microstates.js/pull/120"},"issue":{"href":"https://api.github.com/repos/microstates/microstates.js/issues/120"},"comments":{"href":"https://api.github.com/repos/microstates/microstates.js/issues/120/comments"},"review_comments":{"href":"https://api.github.com/repos/microstates/microstates.js/pulls/120/comments"},"review_comment":{"href":"https://api.github.com/repos/microstates/microstates.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/microstates/microstates.js/pulls/120/commits"},"statuses":{"href":"https://api.github.com/repos/microstates/microstates.js/statuses/190a8ebfd6d82884c3b7b0af4bbedcfea0ba3f11"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"taras","id":74687,"avatar_url":"https://avatars2.githubusercontent.com/u/74687?v=4","gravatar_id":"","url":"https://api.github.com/users/taras","html_url":"https://github.com/taras","followers_url":"https://api.github.com/users/taras/followers","following_url":"https://api.github.com/users/taras/following{/other_user}","gists_url":"https://api.github.com/users/taras/gists{/gist_id}","starred_url":"https://api.github.com/users/taras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taras/subscriptions","organizations_url":"https://api.github.com/users/taras/orgs","repos_url":"https://api.github.com/users/taras/repos","events_url":"https://api.github.com/users/taras/events{/privacy}","received_events_url":"https://api.github.com/users/taras/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":148,"deletions":142,"changed_files":3}}
{"actor":{"display_login":"taras"}}