{"action":"created","comment":{"url":"https://api.github.com/repos/square/sqldelight/pulls/comments/212803314","pull_request_review_id":149515328,"id":212803314,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjgwMzMxNA==","diff_hunk":"@@ -0,0 +1,97 @@\n+package com.example.sqldelight.hockey.data\n+\n+import android.arch.persistence.db.SupportSQLiteDatabase\n+import android.arch.persistence.db.SupportSQLiteOpenHelper\n+import android.content.Context\n+import com.example.sqldelight.hockey.QueryWrapper\n+import com.example.sqldelight.hockey.data.PlayerVals.Position\n+import com.example.sqldelight.hockey.data.PlayerVals.Shoots\n+import com.squareup.sqldelight.EnumColumnAdapter\n+import com.squareup.sqldelight.android.create\n+import com.squareup.sqldelight.db.SqlDatabase\n+import java.util.GregorianCalendar\n+\n+object HockeyOpenHelper : SupportSQLiteOpenHelper.Callback(QueryWrapper.version) {\n+  private var instance: QueryWrapper? = null\n+\n+  private fun createQueryWrapper(database: SqlDatabase): QueryWrapper {\n+    return QueryWrapper(\n+        database = database,\n+        teamAdapter = Team.Adapter(DateAdapter()),\n+        playerAdapter = Player.Adapter(\n+            birth_dateAdapter = DateAdapter(),\n+            shootsAdapter = EnumColumnAdapter(),\n+            positionAdapter = EnumColumnAdapter()\n+        )\n+    )\n+  }\n+\n+  fun getInstance(context: Context): QueryWrapper {","path":"sqldelight-sample/src/main/java/com/example/sqldelight/hockey/data/HockeyOpenHelper.kt","position":29,"original_position":29,"commit_id":"f18168502c6191b7ec456b958d35caa5628d7cd4","original_commit_id":"f18168502c6191b7ec456b958d35caa5628d7cd4","user":{"login":"AlecStrong","id":1675456,"node_id":"MDQ6VXNlcjE2NzU0NTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1675456?v=4","gravatar_id":"","url":"https://api.github.com/users/AlecStrong","html_url":"https://github.com/AlecStrong","followers_url":"https://api.github.com/users/AlecStrong/followers","following_url":"https://api.github.com/users/AlecStrong/following{/other_user}","gists_url":"https://api.github.com/users/AlecStrong/gists{/gist_id}","starred_url":"https://api.github.com/users/AlecStrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlecStrong/subscriptions","organizations_url":"https://api.github.com/users/AlecStrong/orgs","repos_url":"https://api.github.com/users/AlecStrong/repos","events_url":"https://api.github.com/users/AlecStrong/events{/privacy}","received_events_url":"https://api.github.com/users/AlecStrong/received_events","type":"User","site_admin":false},"body":"yea i like that","created_at":"2018-08-25T16:51:04Z","updated_at":"2018-08-25T16:51:04Z","html_url":"https://github.com/square/sqldelight/pull/884#discussion_r212803314","pull_request_url":"https://api.github.com/repos/square/sqldelight/pulls/884","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/square/sqldelight/pulls/comments/212803314"},"html":{"href":"https://github.com/square/sqldelight/pull/884#discussion_r212803314"},"pull_request":{"href":"https://api.github.com/repos/square/sqldelight/pulls/884"}},"in_reply_to_id":212705998},"pull_request":{"url":"https://api.github.com/repos/square/sqldelight/pulls/884","id":195905240,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1OTA1MjQw","html_url":"https://github.com/square/sqldelight/pull/884","diff_url":"https://github.com/square/sqldelight/pull/884.diff","patch_url":"https://github.com/square/sqldelight/pull/884.patch","issue_url":"https://api.github.com/repos/square/sqldelight/issues/884","number":884,"state":"closed","locked":false,"title":"Update sample to 1.0.0-alpha4","user":{"login":"AlecStrong","id":1675456,"node_id":"MDQ6VXNlcjE2NzU0NTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1675456?v=4","gravatar_id":"","url":"https://api.github.com/users/AlecStrong","html_url":"https://github.com/AlecStrong","followers_url":"https://api.github.com/users/AlecStrong/followers","following_url":"https://api.github.com/users/AlecStrong/following{/other_user}","gists_url":"https://api.github.com/users/AlecStrong/gists{/gist_id}","starred_url":"https://api.github.com/users/AlecStrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlecStrong/subscriptions","organizations_url":"https://api.github.com/users/AlecStrong/orgs","repos_url":"https://api.github.com/users/AlecStrong/repos","events_url":"https://api.github.com/users/AlecStrong/events{/privacy}","received_events_url":"https://api.github.com/users/AlecStrong/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-19T17:38:54Z","updated_at":"2018-08-25T16:51:04Z","closed_at":"2018-06-19T18:31:59Z","merged_at":"2018-06-19T18:31:59Z","merge_commit_sha":"2d57ba564347352ceef1e74bcf469319aae01cdb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/square/sqldelight/pulls/884/commits","review_comments_url":"https://api.github.com/repos/square/sqldelight/pulls/884/comments","review_comment_url":"https://api.github.com/repos/square/sqldelight/pulls/comments{/number}","comments_url":"https://api.github.com/repos/square/sqldelight/issues/884/comments","statuses_url":"https://api.github.com/repos/square/sqldelight/statuses/f18168502c6191b7ec456b958d35caa5628d7cd4","head":{"label":"square:astrong/2018-03-29/update-sample","ref":"astrong/2018-03-29/update-sample","sha":"f18168502c6191b7ec456b958d35caa5628d7cd4","user":{"login":"square","id":82592,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgyNTky","avatar_url":"https://avatars0.githubusercontent.com/u/82592?v=4","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"repo":{"id":44677680,"node_id":"MDEwOlJlcG9zaXRvcnk0NDY3NzY4MA==","name":"sqldelight","full_name":"square/sqldelight","owner":{"login":"square","id":82592,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgyNTky","avatar_url":"https://avatars0.githubusercontent.com/u/82592?v=4","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/square/sqldelight","description":"Generates Java models from CREATE TABLE statements.","fork":false,"url":"https://api.github.com/repos/square/sqldelight","forks_url":"https://api.github.com/repos/square/sqldelight/forks","keys_url":"https://api.github.com/repos/square/sqldelight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/square/sqldelight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/square/sqldelight/teams","hooks_url":"https://api.github.com/repos/square/sqldelight/hooks","issue_events_url":"https://api.github.com/repos/square/sqldelight/issues/events{/number}","events_url":"https://api.github.com/repos/square/sqldelight/events","assignees_url":"https://api.github.com/repos/square/sqldelight/assignees{/user}","branches_url":"https://api.github.com/repos/square/sqldelight/branches{/branch}","tags_url":"https://api.github.com/repos/square/sqldelight/tags","blobs_url":"https://api.github.com/repos/square/sqldelight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/square/sqldelight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/square/sqldelight/git/refs{/sha}","trees_url":"https://api.github.com/repos/square/sqldelight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/square/sqldelight/statuses/{sha}","languages_url":"https://api.github.com/repos/square/sqldelight/languages","stargazers_url":"https://api.github.com/repos/square/sqldelight/stargazers","contributors_url":"https://api.github.com/repos/square/sqldelight/contributors","subscribers_url":"https://api.github.com/repos/square/sqldelight/subscribers","subscription_url":"https://api.github.com/repos/square/sqldelight/subscription","commits_url":"https://api.github.com/repos/square/sqldelight/commits{/sha}","git_commits_url":"https://api.github.com/repos/square/sqldelight/git/commits{/sha}","comments_url":"https://api.github.com/repos/square/sqldelight/comments{/number}","issue_comment_url":"https://api.github.com/repos/square/sqldelight/issues/comments{/number}","contents_url":"https://api.github.com/repos/square/sqldelight/contents/{+path}","compare_url":"https://api.github.com/repos/square/sqldelight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/square/sqldelight/merges","archive_url":"https://api.github.com/repos/square/sqldelight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/square/sqldelight/downloads","issues_url":"https://api.github.com/repos/square/sqldelight/issues{/number}","pulls_url":"https://api.github.com/repos/square/sqldelight/pulls{/number}","milestones_url":"https://api.github.com/repos/square/sqldelight/milestones{/number}","notifications_url":"https://api.github.com/repos/square/sqldelight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/square/sqldelight/labels{/name}","releases_url":"https://api.github.com/repos/square/sqldelight/releases{/id}","deployments_url":"https://api.github.com/repos/square/sqldelight/deployments","created_at":"2015-10-21T13:21:18Z","updated_at":"2018-08-23T16:40:00Z","pushed_at":"2018-08-24T17:34:03Z","git_url":"git://github.com/square/sqldelight.git","ssh_url":"git@github.com:square/sqldelight.git","clone_url":"https://github.com/square/sqldelight.git","svn_url":"https://github.com/square/sqldelight","homepage":"","size":40664,"stargazers_count":1744,"watchers_count":1744,"language":"Kotlin","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":126,"mirror_url":null,"archived":false,"open_issues_count":47,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":126,"open_issues":47,"watchers":1744,"default_branch":"master"}},"base":{"label":"square:master","ref":"master","sha":"7768b30a2b83ccc3bd42e366fd9bec9636a24ad7","user":{"login":"square","id":82592,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgyNTky","avatar_url":"https://avatars0.githubusercontent.com/u/82592?v=4","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"repo":{"id":44677680,"node_id":"MDEwOlJlcG9zaXRvcnk0NDY3NzY4MA==","name":"sqldelight","full_name":"square/sqldelight","owner":{"login":"square","id":82592,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgyNTky","avatar_url":"https://avatars0.githubusercontent.com/u/82592?v=4","gravatar_id":"","url":"https://api.github.com/users/square","html_url":"https://github.com/square","followers_url":"https://api.github.com/users/square/followers","following_url":"https://api.github.com/users/square/following{/other_user}","gists_url":"https://api.github.com/users/square/gists{/gist_id}","starred_url":"https://api.github.com/users/square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/square/subscriptions","organizations_url":"https://api.github.com/users/square/orgs","repos_url":"https://api.github.com/users/square/repos","events_url":"https://api.github.com/users/square/events{/privacy}","received_events_url":"https://api.github.com/users/square/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/square/sqldelight","description":"Generates Java models from CREATE TABLE statements.","fork":false,"url":"https://api.github.com/repos/square/sqldelight","forks_url":"https://api.github.com/repos/square/sqldelight/forks","keys_url":"https://api.github.com/repos/square/sqldelight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/square/sqldelight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/square/sqldelight/teams","hooks_url":"https://api.github.com/repos/square/sqldelight/hooks","issue_events_url":"https://api.github.com/repos/square/sqldelight/issues/events{/number}","events_url":"https://api.github.com/repos/square/sqldelight/events","assignees_url":"https://api.github.com/repos/square/sqldelight/assignees{/user}","branches_url":"https://api.github.com/repos/square/sqldelight/branches{/branch}","tags_url":"https://api.github.com/repos/square/sqldelight/tags","blobs_url":"https://api.github.com/repos/square/sqldelight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/square/sqldelight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/square/sqldelight/git/refs{/sha}","trees_url":"https://api.github.com/repos/square/sqldelight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/square/sqldelight/statuses/{sha}","languages_url":"https://api.github.com/repos/square/sqldelight/languages","stargazers_url":"https://api.github.com/repos/square/sqldelight/stargazers","contributors_url":"https://api.github.com/repos/square/sqldelight/contributors","subscribers_url":"https://api.github.com/repos/square/sqldelight/subscribers","subscription_url":"https://api.github.com/repos/square/sqldelight/subscription","commits_url":"https://api.github.com/repos/square/sqldelight/commits{/sha}","git_commits_url":"https://api.github.com/repos/square/sqldelight/git/commits{/sha}","comments_url":"https://api.github.com/repos/square/sqldelight/comments{/number}","issue_comment_url":"https://api.github.com/repos/square/sqldelight/issues/comments{/number}","contents_url":"https://api.github.com/repos/square/sqldelight/contents/{+path}","compare_url":"https://api.github.com/repos/square/sqldelight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/square/sqldelight/merges","archive_url":"https://api.github.com/repos/square/sqldelight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/square/sqldelight/downloads","issues_url":"https://api.github.com/repos/square/sqldelight/issues{/number}","pulls_url":"https://api.github.com/repos/square/sqldelight/pulls{/number}","milestones_url":"https://api.github.com/repos/square/sqldelight/milestones{/number}","notifications_url":"https://api.github.com/repos/square/sqldelight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/square/sqldelight/labels{/name}","releases_url":"https://api.github.com/repos/square/sqldelight/releases{/id}","deployments_url":"https://api.github.com/repos/square/sqldelight/deployments","created_at":"2015-10-21T13:21:18Z","updated_at":"2018-08-23T16:40:00Z","pushed_at":"2018-08-24T17:34:03Z","git_url":"git://github.com/square/sqldelight.git","ssh_url":"git@github.com:square/sqldelight.git","clone_url":"https://github.com/square/sqldelight.git","svn_url":"https://github.com/square/sqldelight","homepage":"","size":40664,"stargazers_count":1744,"watchers_count":1744,"language":"Kotlin","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":126,"mirror_url":null,"archived":false,"open_issues_count":47,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":126,"open_issues":47,"watchers":1744,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/square/sqldelight/pulls/884"},"html":{"href":"https://github.com/square/sqldelight/pull/884"},"issue":{"href":"https://api.github.com/repos/square/sqldelight/issues/884"},"comments":{"href":"https://api.github.com/repos/square/sqldelight/issues/884/comments"},"review_comments":{"href":"https://api.github.com/repos/square/sqldelight/pulls/884/comments"},"review_comment":{"href":"https://api.github.com/repos/square/sqldelight/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/square/sqldelight/pulls/884/commits"},"statuses":{"href":"https://api.github.com/repos/square/sqldelight/statuses/f18168502c6191b7ec456b958d35caa5628d7cd4"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"AlecStrong"}}