{"action":"created","issue":{"url":"https://api.github.com/repos/tminglei/slick-pg/issues/204","labels_url":"https://api.github.com/repos/tminglei/slick-pg/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/tminglei/slick-pg/issues/204/comments","events_url":"https://api.github.com/repos/tminglei/slick-pg/issues/204/events","html_url":"https://github.com/tminglei/slick-pg/issues/204","id":103577676,"number":204,"title":"Convert Rep[T] to Rep[List[T]]","user":{"login":"timcharper","id":183,"avatar_url":"https://avatars.githubusercontent.com/u/183?v=3","gravatar_id":"","url":"https://api.github.com/users/timcharper","html_url":"https://github.com/timcharper","followers_url":"https://api.github.com/users/timcharper/followers","following_url":"https://api.github.com/users/timcharper/following{/other_user}","gists_url":"https://api.github.com/users/timcharper/gists{/gist_id}","starred_url":"https://api.github.com/users/timcharper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timcharper/subscriptions","organizations_url":"https://api.github.com/users/timcharper/orgs","repos_url":"https://api.github.com/users/timcharper/repos","events_url":"https://api.github.com/users/timcharper/events{/privacy}","received_events_url":"https://api.github.com/users/timcharper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-27T19:27:13Z","updated_at":"2015-08-27T22:22:44Z","closed_at":null,"body":"There presently exists no mechanism to convert a Rep[T] to a Rep[List[T]]; using asColumnOf results in a Postgres error.\r\n\r\nUnfortunately, it looks like it will be impossible to get `slick` to know such a conversion isn't possible at compile time :( But, at least it would be nice to add an implicit `toList` function to a Rep[T] to convert it accordingly. I think it will require an extension to the Slick query compiler."},"comment":{"url":"https://api.github.com/repos/tminglei/slick-pg/issues/comments/135572722","html_url":"https://github.com/tminglei/slick-pg/issues/204#issuecomment-135572722","issue_url":"https://api.github.com/repos/tminglei/slick-pg/issues/204","id":135572722,"user":{"login":"tminglei","id":1828949,"avatar_url":"https://avatars.githubusercontent.com/u/1828949?v=3","gravatar_id":"","url":"https://api.github.com/users/tminglei","html_url":"https://github.com/tminglei","followers_url":"https://api.github.com/users/tminglei/followers","following_url":"https://api.github.com/users/tminglei/following{/other_user}","gists_url":"https://api.github.com/users/tminglei/gists{/gist_id}","starred_url":"https://api.github.com/users/tminglei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tminglei/subscriptions","organizations_url":"https://api.github.com/users/tminglei/orgs","repos_url":"https://api.github.com/users/tminglei/repos","events_url":"https://api.github.com/users/tminglei/events{/privacy}","received_events_url":"https://api.github.com/users/tminglei/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T22:22:44Z","updated_at":"2015-08-27T22:22:44Z","body":"Where to use it? In table definition?"}}