{"action":"created","comment":{"url":"https://api.github.com/repos/outr/scalarelational/pulls/comments/38219898","id":38219898,"diff_hunk":"@@ -68,5 +68,7 @@ object AsyncDatastore extends H2Datastore(mode = H2Memory(\"async_test\")) {\n     val id = column[Option[Int], Int](\"id\", PrimaryKey, AutoIncrement)\n     val name = column[String](\"name\")\n     val age = column[Int](\"age\")\n+\n+    override def query = q.to[AsyncUser]","path":"mapper/src/test/scala/org/scalarelational/mapper/AsyncSpec.scala","position":5,"original_position":5,"commit_id":"4649200515c261becb970e84d04b0e4686e28777","original_commit_id":"00148ae50df7acaf077add4f995ce0d25cbd30e0","user":{"login":"darkfrog26","id":877534,"avatar_url":"https://avatars.githubusercontent.com/u/877534?v=3","gravatar_id":"","url":"https://api.github.com/users/darkfrog26","html_url":"https://github.com/darkfrog26","followers_url":"https://api.github.com/users/darkfrog26/followers","following_url":"https://api.github.com/users/darkfrog26/following{/other_user}","gists_url":"https://api.github.com/users/darkfrog26/gists{/gist_id}","starred_url":"https://api.github.com/users/darkfrog26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkfrog26/subscriptions","organizations_url":"https://api.github.com/users/darkfrog26/orgs","repos_url":"https://api.github.com/users/darkfrog26/repos","events_url":"https://api.github.com/users/darkfrog26/events{/privacy}","received_events_url":"https://api.github.com/users/darkfrog26/received_events","type":"User","site_admin":false},"body":"`def query` is part of `MappedTable` so wouldn't be required, although there's nothing stopping you from introducing the method yourself it just wouldn't override anything.","created_at":"2015-08-28T16:52:36Z","updated_at":"2015-08-28T16:52:36Z","html_url":"https://github.com/outr/scalarelational/pull/58#discussion_r38219898","pull_request_url":"https://api.github.com/repos/outr/scalarelational/pulls/58","_links":{"self":{"href":"https://api.github.com/repos/outr/scalarelational/pulls/comments/38219898"},"html":{"href":"https://github.com/outr/scalarelational/pull/58#discussion_r38219898"},"pull_request":{"href":"https://api.github.com/repos/outr/scalarelational/pulls/58"}}},"pull_request":{"url":"https://api.github.com/repos/outr/scalarelational/pulls/58","id":43642611,"html_url":"https://github.com/outr/scalarelational/pull/58","diff_url":"https://github.com/outr/scalarelational/pull/58.diff","patch_url":"https://github.com/outr/scalarelational/pull/58.patch","issue_url":"https://api.github.com/repos/outr/scalarelational/issues/58","number":58,"state":"open","locked":false,"title":"Create Macros for `Query.to` functionality","user":{"login":"darkfrog26","id":877534,"avatar_url":"https://avatars.githubusercontent.com/u/877534?v=3","gravatar_id":"","url":"https://api.github.com/users/darkfrog26","html_url":"https://github.com/darkfrog26","followers_url":"https://api.github.com/users/darkfrog26/followers","following_url":"https://api.github.com/users/darkfrog26/following{/other_user}","gists_url":"https://api.github.com/users/darkfrog26/gists{/gist_id}","starred_url":"https://api.github.com/users/darkfrog26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkfrog26/subscriptions","organizations_url":"https://api.github.com/users/darkfrog26/orgs","repos_url":"https://api.github.com/users/darkfrog26/repos","events_url":"https://api.github.com/users/darkfrog26/events{/privacy}","received_events_url":"https://api.github.com/users/darkfrog26/received_events","type":"User","site_admin":false},"body":"Left in Reflection-based `to[R]` to avoid breaking dependent code.","created_at":"2015-08-28T15:52:10Z","updated_at":"2015-08-28T16:52:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fb33ccbde1de1477e094e13f86082a9a461126b6","assignee":{"login":"tindzk","id":196819,"avatar_url":"https://avatars.githubusercontent.com/u/196819?v=3","gravatar_id":"","url":"https://api.github.com/users/tindzk","html_url":"https://github.com/tindzk","followers_url":"https://api.github.com/users/tindzk/followers","following_url":"https://api.github.com/users/tindzk/following{/other_user}","gists_url":"https://api.github.com/users/tindzk/gists{/gist_id}","starred_url":"https://api.github.com/users/tindzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tindzk/subscriptions","organizations_url":"https://api.github.com/users/tindzk/orgs","repos_url":"https://api.github.com/users/tindzk/repos","events_url":"https://api.github.com/users/tindzk/events{/privacy}","received_events_url":"https://api.github.com/users/tindzk/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/outr/scalarelational/pulls/58/commits","review_comments_url":"https://api.github.com/repos/outr/scalarelational/pulls/58/comments","review_comment_url":"https://api.github.com/repos/outr/scalarelational/pulls/comments{/number}","comments_url":"https://api.github.com/repos/outr/scalarelational/issues/58/comments","statuses_url":"https://api.github.com/repos/outr/scalarelational/statuses/4649200515c261becb970e84d04b0e4686e28777","head":{"label":"outr:macro_to","ref":"macro_to","sha":"4649200515c261becb970e84d04b0e4686e28777","user":{"login":"outr","id":5854353,"avatar_url":"https://avatars.githubusercontent.com/u/5854353?v=3","gravatar_id":"","url":"https://api.github.com/users/outr","html_url":"https://github.com/outr","followers_url":"https://api.github.com/users/outr/followers","following_url":"https://api.github.com/users/outr/following{/other_user}","gists_url":"https://api.github.com/users/outr/gists{/gist_id}","starred_url":"https://api.github.com/users/outr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/outr/subscriptions","organizations_url":"https://api.github.com/users/outr/orgs","repos_url":"https://api.github.com/users/outr/repos","events_url":"https://api.github.com/users/outr/events{/privacy}","received_events_url":"https://api.github.com/users/outr/received_events","type":"Organization","site_admin":false},"repo":{"id":14048773,"name":"scalarelational","full_name":"outr/scalarelational","owner":{"login":"outr","id":5854353,"avatar_url":"https://avatars.githubusercontent.com/u/5854353?v=3","gravatar_id":"","url":"https://api.github.com/users/outr","html_url":"https://github.com/outr","followers_url":"https://api.github.com/users/outr/followers","following_url":"https://api.github.com/users/outr/following{/other_user}","gists_url":"https://api.github.com/users/outr/gists{/gist_id}","starred_url":"https://api.github.com/users/outr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/outr/subscriptions","organizations_url":"https://api.github.com/users/outr/orgs","repos_url":"https://api.github.com/users/outr/repos","events_url":"https://api.github.com/users/outr/events{/privacy}","received_events_url":"https://api.github.com/users/outr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/outr/scalarelational","description":"Type-Safe framework for defining, modifying, and querying SQL databases","fork":false,"url":"https://api.github.com/repos/outr/scalarelational","forks_url":"https://api.github.com/repos/outr/scalarelational/forks","keys_url":"https://api.github.com/repos/outr/scalarelational/keys{/key_id}","collaborators_url":"https://api.github.com/repos/outr/scalarelational/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/outr/scalarelational/teams","hooks_url":"https://api.github.com/repos/outr/scalarelational/hooks","issue_events_url":"https://api.github.com/repos/outr/scalarelational/issues/events{/number}","events_url":"https://api.github.com/repos/outr/scalarelational/events","assignees_url":"https://api.github.com/repos/outr/scalarelational/assignees{/user}","branches_url":"https://api.github.com/repos/outr/scalarelational/branches{/branch}","tags_url":"https://api.github.com/repos/outr/scalarelational/tags","blobs_url":"https://api.github.com/repos/outr/scalarelational/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/outr/scalarelational/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/outr/scalarelational/git/refs{/sha}","trees_url":"https://api.github.com/repos/outr/scalarelational/git/trees{/sha}","statuses_url":"https://api.github.com/repos/outr/scalarelational/statuses/{sha}","languages_url":"https://api.github.com/repos/outr/scalarelational/languages","stargazers_url":"https://api.github.com/repos/outr/scalarelational/stargazers","contributors_url":"https://api.github.com/repos/outr/scalarelational/contributors","subscribers_url":"https://api.github.com/repos/outr/scalarelational/subscribers","subscription_url":"https://api.github.com/repos/outr/scalarelational/subscription","commits_url":"https://api.github.com/repos/outr/scalarelational/commits{/sha}","git_commits_url":"https://api.github.com/repos/outr/scalarelational/git/commits{/sha}","comments_url":"https://api.github.com/repos/outr/scalarelational/comments{/number}","issue_comment_url":"https://api.github.com/repos/outr/scalarelational/issues/comments{/number}","contents_url":"https://api.github.com/repos/outr/scalarelational/contents/{+path}","compare_url":"https://api.github.com/repos/outr/scalarelational/compare/{base}...{head}","merges_url":"https://api.github.com/repos/outr/scalarelational/merges","archive_url":"https://api.github.com/repos/outr/scalarelational/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/outr/scalarelational/downloads","issues_url":"https://api.github.com/repos/outr/scalarelational/issues{/number}","pulls_url":"https://api.github.com/repos/outr/scalarelational/pulls{/number}","milestones_url":"https://api.github.com/repos/outr/scalarelational/milestones{/number}","notifications_url":"https://api.github.com/repos/outr/scalarelational/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/outr/scalarelational/labels{/name}","releases_url":"https://api.github.com/repos/outr/scalarelational/releases{/id}","created_at":"2013-11-01T17:14:15Z","updated_at":"2015-08-20T15:08:31Z","pushed_at":"2015-08-28T16:49:59Z","git_url":"git://github.com/outr/scalarelational.git","ssh_url":"git@github.com:outr/scalarelational.git","clone_url":"https://github.com/outr/scalarelational.git","svn_url":"https://github.com/outr/scalarelational","homepage":null,"size":1686,"stargazers_count":25,"watchers_count":25,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":13,"forks":9,"open_issues":13,"watchers":25,"default_branch":"master"}},"base":{"label":"outr:master","ref":"master","sha":"f23974d875b5421b801c40649dd27ff54b955359","user":{"login":"outr","id":5854353,"avatar_url":"https://avatars.githubusercontent.com/u/5854353?v=3","gravatar_id":"","url":"https://api.github.com/users/outr","html_url":"https://github.com/outr","followers_url":"https://api.github.com/users/outr/followers","following_url":"https://api.github.com/users/outr/following{/other_user}","gists_url":"https://api.github.com/users/outr/gists{/gist_id}","starred_url":"https://api.github.com/users/outr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/outr/subscriptions","organizations_url":"https://api.github.com/users/outr/orgs","repos_url":"https://api.github.com/users/outr/repos","events_url":"https://api.github.com/users/outr/events{/privacy}","received_events_url":"https://api.github.com/users/outr/received_events","type":"Organization","site_admin":false},"repo":{"id":14048773,"name":"scalarelational","full_name":"outr/scalarelational","owner":{"login":"outr","id":5854353,"avatar_url":"https://avatars.githubusercontent.com/u/5854353?v=3","gravatar_id":"","url":"https://api.github.com/users/outr","html_url":"https://github.com/outr","followers_url":"https://api.github.com/users/outr/followers","following_url":"https://api.github.com/users/outr/following{/other_user}","gists_url":"https://api.github.com/users/outr/gists{/gist_id}","starred_url":"https://api.github.com/users/outr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/outr/subscriptions","organizations_url":"https://api.github.com/users/outr/orgs","repos_url":"https://api.github.com/users/outr/repos","events_url":"https://api.github.com/users/outr/events{/privacy}","received_events_url":"https://api.github.com/users/outr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/outr/scalarelational","description":"Type-Safe framework for defining, modifying, and querying SQL databases","fork":false,"url":"https://api.github.com/repos/outr/scalarelational","forks_url":"https://api.github.com/repos/outr/scalarelational/forks","keys_url":"https://api.github.com/repos/outr/scalarelational/keys{/key_id}","collaborators_url":"https://api.github.com/repos/outr/scalarelational/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/outr/scalarelational/teams","hooks_url":"https://api.github.com/repos/outr/scalarelational/hooks","issue_events_url":"https://api.github.com/repos/outr/scalarelational/issues/events{/number}","events_url":"https://api.github.com/repos/outr/scalarelational/events","assignees_url":"https://api.github.com/repos/outr/scalarelational/assignees{/user}","branches_url":"https://api.github.com/repos/outr/scalarelational/branches{/branch}","tags_url":"https://api.github.com/repos/outr/scalarelational/tags","blobs_url":"https://api.github.com/repos/outr/scalarelational/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/outr/scalarelational/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/outr/scalarelational/git/refs{/sha}","trees_url":"https://api.github.com/repos/outr/scalarelational/git/trees{/sha}","statuses_url":"https://api.github.com/repos/outr/scalarelational/statuses/{sha}","languages_url":"https://api.github.com/repos/outr/scalarelational/languages","stargazers_url":"https://api.github.com/repos/outr/scalarelational/stargazers","contributors_url":"https://api.github.com/repos/outr/scalarelational/contributors","subscribers_url":"https://api.github.com/repos/outr/scalarelational/subscribers","subscription_url":"https://api.github.com/repos/outr/scalarelational/subscription","commits_url":"https://api.github.com/repos/outr/scalarelational/commits{/sha}","git_commits_url":"https://api.github.com/repos/outr/scalarelational/git/commits{/sha}","comments_url":"https://api.github.com/repos/outr/scalarelational/comments{/number}","issue_comment_url":"https://api.github.com/repos/outr/scalarelational/issues/comments{/number}","contents_url":"https://api.github.com/repos/outr/scalarelational/contents/{+path}","compare_url":"https://api.github.com/repos/outr/scalarelational/compare/{base}...{head}","merges_url":"https://api.github.com/repos/outr/scalarelational/merges","archive_url":"https://api.github.com/repos/outr/scalarelational/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/outr/scalarelational/downloads","issues_url":"https://api.github.com/repos/outr/scalarelational/issues{/number}","pulls_url":"https://api.github.com/repos/outr/scalarelational/pulls{/number}","milestones_url":"https://api.github.com/repos/outr/scalarelational/milestones{/number}","notifications_url":"https://api.github.com/repos/outr/scalarelational/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/outr/scalarelational/labels{/name}","releases_url":"https://api.github.com/repos/outr/scalarelational/releases{/id}","created_at":"2013-11-01T17:14:15Z","updated_at":"2015-08-20T15:08:31Z","pushed_at":"2015-08-28T16:49:59Z","git_url":"git://github.com/outr/scalarelational.git","ssh_url":"git@github.com:outr/scalarelational.git","clone_url":"https://github.com/outr/scalarelational.git","svn_url":"https://github.com/outr/scalarelational","homepage":null,"size":1686,"stargazers_count":25,"watchers_count":25,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":13,"forks":9,"open_issues":13,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/outr/scalarelational/pulls/58"},"html":{"href":"https://github.com/outr/scalarelational/pull/58"},"issue":{"href":"https://api.github.com/repos/outr/scalarelational/issues/58"},"comments":{"href":"https://api.github.com/repos/outr/scalarelational/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/outr/scalarelational/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/outr/scalarelational/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/outr/scalarelational/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/outr/scalarelational/statuses/4649200515c261becb970e84d04b0e4686e28777"}}}}