{"action":"created","comment":{"url":"https://api.github.com/repos/mpdairy/posh/pulls/comments/75585586","id":75585586,"diff_hunk":"@@ -27,11 +27,16 @@\n                  (fn [var]\n                    (when (keyword? var)\n                      (get posh-vars var))))\n+      (add-watch conn :posh-schema-listener\n+                 (fn [key ref old-state new-state]\n+                   (when (not= (:schema old-state) (:schema new-state))\n+                     (swap! posh-atom assoc-in [:schema db-id] (:schema new-state)))))\n+                     ;; Update posh conn\n       (d/listen! conn :posh-listener\n                  (fn [tx-report]\n                    ;;(println \"CHANGED: \" (keys (:changed (p/after-transact @posh-atom {conn tx-report}))))\n                    (let [{:keys [ratoms changed]}\n-                         (reset! posh-atom (p/after-transact @posh-atom {conn tx-report}))]\n+                         (swap! posh-atom p/after-transact {conn tx-report})]","path":"src/posh/reagent.cljs","position":14,"original_position":14,"commit_id":"6aa2945d864d997f44b4b64e13b17008a9a4039d","original_commit_id":"6aa2945d864d997f44b4b64e13b17008a9a4039d","user":{"login":"metasoarous","id":88556,"avatar_url":"https://avatars.githubusercontent.com/u/88556?v=3","gravatar_id":"","url":"https://api.github.com/users/metasoarous","html_url":"https://github.com/metasoarous","followers_url":"https://api.github.com/users/metasoarous/followers","following_url":"https://api.github.com/users/metasoarous/following{/other_user}","gists_url":"https://api.github.com/users/metasoarous/gists{/gist_id}","starred_url":"https://api.github.com/users/metasoarous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metasoarous/subscriptions","organizations_url":"https://api.github.com/users/metasoarous/orgs","repos_url":"https://api.github.com/users/metasoarous/repos","events_url":"https://api.github.com/users/metasoarous/events{/privacy}","received_events_url":"https://api.github.com/users/metasoarous/received_events","type":"User","site_admin":false},"body":"This isn't strictly necessary, but is still more idiomatic","created_at":"2016-08-20T22:13:02Z","updated_at":"2016-08-20T22:13:02Z","html_url":"https://github.com/mpdairy/posh/pull/10#discussion_r75585586","pull_request_url":"https://api.github.com/repos/mpdairy/posh/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/mpdairy/posh/pulls/comments/75585586"},"html":{"href":"https://github.com/mpdairy/posh/pull/10#discussion_r75585586"},"pull_request":{"href":"https://api.github.com/repos/mpdairy/posh/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/mpdairy/posh/pulls/10","id":82090996,"html_url":"https://github.com/mpdairy/posh/pull/10","diff_url":"https://github.com/mpdairy/posh/pull/10.diff","patch_url":"https://github.com/mpdairy/posh/pull/10.patch","issue_url":"https://api.github.com/repos/mpdairy/posh/issues/10","number":10,"state":"open","locked":false,"title":"parinfer friendly indentation and start of schema update awareness","user":{"login":"metasoarous","id":88556,"avatar_url":"https://avatars.githubusercontent.com/u/88556?v=3","gravatar_id":"","url":"https://api.github.com/users/metasoarous","html_url":"https://github.com/metasoarous","followers_url":"https://api.github.com/users/metasoarous/followers","following_url":"https://api.github.com/users/metasoarous/following{/other_user}","gists_url":"https://api.github.com/users/metasoarous/gists{/gist_id}","starred_url":"https://api.github.com/users/metasoarous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metasoarous/subscriptions","organizations_url":"https://api.github.com/users/metasoarous/orgs","repos_url":"https://api.github.com/users/metasoarous/repos","events_url":"https://api.github.com/users/metasoarous/events{/privacy}","received_events_url":"https://api.github.com/users/metasoarous/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-20T22:12:39Z","updated_at":"2016-08-20T22:13:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f64b7a9c022297d5697582c6c6ebbc2b9d095cac","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mpdairy/posh/pulls/10/commits","review_comments_url":"https://api.github.com/repos/mpdairy/posh/pulls/10/comments","review_comment_url":"https://api.github.com/repos/mpdairy/posh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mpdairy/posh/issues/10/comments","statuses_url":"https://api.github.com/repos/mpdairy/posh/statuses/6aa2945d864d997f44b4b64e13b17008a9a4039d","head":{"label":"metasoarous:master","ref":"master","sha":"6aa2945d864d997f44b4b64e13b17008a9a4039d","user":{"login":"metasoarous","id":88556,"avatar_url":"https://avatars.githubusercontent.com/u/88556?v=3","gravatar_id":"","url":"https://api.github.com/users/metasoarous","html_url":"https://github.com/metasoarous","followers_url":"https://api.github.com/users/metasoarous/followers","following_url":"https://api.github.com/users/metasoarous/following{/other_user}","gists_url":"https://api.github.com/users/metasoarous/gists{/gist_id}","starred_url":"https://api.github.com/users/metasoarous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metasoarous/subscriptions","organizations_url":"https://api.github.com/users/metasoarous/orgs","repos_url":"https://api.github.com/users/metasoarous/repos","events_url":"https://api.github.com/users/metasoarous/events{/privacy}","received_events_url":"https://api.github.com/users/metasoarous/received_events","type":"User","site_admin":false},"repo":{"id":64247658,"name":"posh","full_name":"metasoarous/posh","owner":{"login":"metasoarous","id":88556,"avatar_url":"https://avatars.githubusercontent.com/u/88556?v=3","gravatar_id":"","url":"https://api.github.com/users/metasoarous","html_url":"https://github.com/metasoarous","followers_url":"https://api.github.com/users/metasoarous/followers","following_url":"https://api.github.com/users/metasoarous/following{/other_user}","gists_url":"https://api.github.com/users/metasoarous/gists{/gist_id}","starred_url":"https://api.github.com/users/metasoarous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metasoarous/subscriptions","organizations_url":"https://api.github.com/users/metasoarous/orgs","repos_url":"https://api.github.com/users/metasoarous/repos","events_url":"https://api.github.com/users/metasoarous/events{/privacy}","received_events_url":"https://api.github.com/users/metasoarous/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/metasoarous/posh","description":"A luxuriously simple and powerful way to make front-ends with DataScript and Reagent in Clojure.","fork":true,"url":"https://api.github.com/repos/metasoarous/posh","forks_url":"https://api.github.com/repos/metasoarous/posh/forks","keys_url":"https://api.github.com/repos/metasoarous/posh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metasoarous/posh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metasoarous/posh/teams","hooks_url":"https://api.github.com/repos/metasoarous/posh/hooks","issue_events_url":"https://api.github.com/repos/metasoarous/posh/issues/events{/number}","events_url":"https://api.github.com/repos/metasoarous/posh/events","assignees_url":"https://api.github.com/repos/metasoarous/posh/assignees{/user}","branches_url":"https://api.github.com/repos/metasoarous/posh/branches{/branch}","tags_url":"https://api.github.com/repos/metasoarous/posh/tags","blobs_url":"https://api.github.com/repos/metasoarous/posh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metasoarous/posh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metasoarous/posh/git/refs{/sha}","trees_url":"https://api.github.com/repos/metasoarous/posh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metasoarous/posh/statuses/{sha}","languages_url":"https://api.github.com/repos/metasoarous/posh/languages","stargazers_url":"https://api.github.com/repos/metasoarous/posh/stargazers","contributors_url":"https://api.github.com/repos/metasoarous/posh/contributors","subscribers_url":"https://api.github.com/repos/metasoarous/posh/subscribers","subscription_url":"https://api.github.com/repos/metasoarous/posh/subscription","commits_url":"https://api.github.com/repos/metasoarous/posh/commits{/sha}","git_commits_url":"https://api.github.com/repos/metasoarous/posh/git/commits{/sha}","comments_url":"https://api.github.com/repos/metasoarous/posh/comments{/number}","issue_comment_url":"https://api.github.com/repos/metasoarous/posh/issues/comments{/number}","contents_url":"https://api.github.com/repos/metasoarous/posh/contents/{+path}","compare_url":"https://api.github.com/repos/metasoarous/posh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metasoarous/posh/merges","archive_url":"https://api.github.com/repos/metasoarous/posh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metasoarous/posh/downloads","issues_url":"https://api.github.com/repos/metasoarous/posh/issues{/number}","pulls_url":"https://api.github.com/repos/metasoarous/posh/pulls{/number}","milestones_url":"https://api.github.com/repos/metasoarous/posh/milestones{/number}","notifications_url":"https://api.github.com/repos/metasoarous/posh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metasoarous/posh/labels{/name}","releases_url":"https://api.github.com/repos/metasoarous/posh/releases{/id}","deployments_url":"https://api.github.com/repos/metasoarous/posh/deployments","created_at":"2016-07-26T19:13:56Z","updated_at":"2016-07-26T19:13:57Z","pushed_at":"2016-08-19T00:18:41Z","git_url":"git://github.com/metasoarous/posh.git","ssh_url":"git@github.com:metasoarous/posh.git","clone_url":"https://github.com/metasoarous/posh.git","svn_url":"https://github.com/metasoarous/posh","homepage":"","size":1724,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mpdairy:master","ref":"master","sha":"1e18faaa4a23d1c1d8dffe7939bce10d447e651b","user":{"login":"mpdairy","id":8990793,"avatar_url":"https://avatars.githubusercontent.com/u/8990793?v=3","gravatar_id":"","url":"https://api.github.com/users/mpdairy","html_url":"https://github.com/mpdairy","followers_url":"https://api.github.com/users/mpdairy/followers","following_url":"https://api.github.com/users/mpdairy/following{/other_user}","gists_url":"https://api.github.com/users/mpdairy/gists{/gist_id}","starred_url":"https://api.github.com/users/mpdairy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpdairy/subscriptions","organizations_url":"https://api.github.com/users/mpdairy/orgs","repos_url":"https://api.github.com/users/mpdairy/repos","events_url":"https://api.github.com/users/mpdairy/events{/privacy}","received_events_url":"https://api.github.com/users/mpdairy/received_events","type":"User","site_admin":false},"repo":{"id":46463401,"name":"posh","full_name":"mpdairy/posh","owner":{"login":"mpdairy","id":8990793,"avatar_url":"https://avatars.githubusercontent.com/u/8990793?v=3","gravatar_id":"","url":"https://api.github.com/users/mpdairy","html_url":"https://github.com/mpdairy","followers_url":"https://api.github.com/users/mpdairy/followers","following_url":"https://api.github.com/users/mpdairy/following{/other_user}","gists_url":"https://api.github.com/users/mpdairy/gists{/gist_id}","starred_url":"https://api.github.com/users/mpdairy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpdairy/subscriptions","organizations_url":"https://api.github.com/users/mpdairy/orgs","repos_url":"https://api.github.com/users/mpdairy/repos","events_url":"https://api.github.com/users/mpdairy/events{/privacy}","received_events_url":"https://api.github.com/users/mpdairy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mpdairy/posh","description":"A luxuriously simple and powerful way to make front-ends with DataScript and Reagent in Clojure.","fork":false,"url":"https://api.github.com/repos/mpdairy/posh","forks_url":"https://api.github.com/repos/mpdairy/posh/forks","keys_url":"https://api.github.com/repos/mpdairy/posh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mpdairy/posh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mpdairy/posh/teams","hooks_url":"https://api.github.com/repos/mpdairy/posh/hooks","issue_events_url":"https://api.github.com/repos/mpdairy/posh/issues/events{/number}","events_url":"https://api.github.com/repos/mpdairy/posh/events","assignees_url":"https://api.github.com/repos/mpdairy/posh/assignees{/user}","branches_url":"https://api.github.com/repos/mpdairy/posh/branches{/branch}","tags_url":"https://api.github.com/repos/mpdairy/posh/tags","blobs_url":"https://api.github.com/repos/mpdairy/posh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mpdairy/posh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mpdairy/posh/git/refs{/sha}","trees_url":"https://api.github.com/repos/mpdairy/posh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mpdairy/posh/statuses/{sha}","languages_url":"https://api.github.com/repos/mpdairy/posh/languages","stargazers_url":"https://api.github.com/repos/mpdairy/posh/stargazers","contributors_url":"https://api.github.com/repos/mpdairy/posh/contributors","subscribers_url":"https://api.github.com/repos/mpdairy/posh/subscribers","subscription_url":"https://api.github.com/repos/mpdairy/posh/subscription","commits_url":"https://api.github.com/repos/mpdairy/posh/commits{/sha}","git_commits_url":"https://api.github.com/repos/mpdairy/posh/git/commits{/sha}","comments_url":"https://api.github.com/repos/mpdairy/posh/comments{/number}","issue_comment_url":"https://api.github.com/repos/mpdairy/posh/issues/comments{/number}","contents_url":"https://api.github.com/repos/mpdairy/posh/contents/{+path}","compare_url":"https://api.github.com/repos/mpdairy/posh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mpdairy/posh/merges","archive_url":"https://api.github.com/repos/mpdairy/posh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mpdairy/posh/downloads","issues_url":"https://api.github.com/repos/mpdairy/posh/issues{/number}","pulls_url":"https://api.github.com/repos/mpdairy/posh/pulls{/number}","milestones_url":"https://api.github.com/repos/mpdairy/posh/milestones{/number}","notifications_url":"https://api.github.com/repos/mpdairy/posh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mpdairy/posh/labels{/name}","releases_url":"https://api.github.com/repos/mpdairy/posh/releases{/id}","deployments_url":"https://api.github.com/repos/mpdairy/posh/deployments","created_at":"2015-11-19T02:56:26Z","updated_at":"2016-08-20T17:02:22Z","pushed_at":"2016-08-20T22:12:39Z","git_url":"git://github.com/mpdairy/posh.git","ssh_url":"git@github.com:mpdairy/posh.git","clone_url":"https://github.com/mpdairy/posh.git","svn_url":"https://github.com/mpdairy/posh","homepage":"","size":1748,"stargazers_count":225,"watchers_count":225,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":7,"forks":9,"open_issues":7,"watchers":225,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mpdairy/posh/pulls/10"},"html":{"href":"https://github.com/mpdairy/posh/pull/10"},"issue":{"href":"https://api.github.com/repos/mpdairy/posh/issues/10"},"comments":{"href":"https://api.github.com/repos/mpdairy/posh/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/mpdairy/posh/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/mpdairy/posh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mpdairy/posh/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/mpdairy/posh/statuses/6aa2945d864d997f44b4b64e13b17008a9a4039d"}}}}
{"actor":{"display_login":"metasoarous"}}