{"action":"created","comment":{"url":"https://api.github.com/repos/scanamo/scanamo/pulls/comments/189881989","pull_request_review_id":122144806,"id":189881989,"diff_hunk":"@@ -145,7 +147,7 @@ class ScanamoAlpakkaSpec\n       import com.gu.scanamo.syntax._\n \n       val forecasts = for {\n-        _ <- ScanamoAlpakka.update(alpakkaClient)(\"forecast\")('location -> \"London\", set('weather -> \"Sun\"))\n+        _ <- ScanamoAlpakka.update[Forecast](alpakkaClient)(\"forecast\")('location -> \"London\", set('weather -> \"Sun\"))","path":"alpakka/src/test/scala/com/gu/scanamo/ScanamoAlpakkaSpec.scala","position":21,"original_position":21,"commit_id":"24c058b13a717f36ff9bb0fb4a75dd7c4088ccf7","original_commit_id":"24c058b13a717f36ff9bb0fb4a75dd7c4088ccf7","user":{"login":"regiskuckaertz","id":629976,"avatar_url":"https://avatars2.githubusercontent.com/u/629976?v=4","gravatar_id":"","url":"https://api.github.com/users/regiskuckaertz","html_url":"https://github.com/regiskuckaertz","followers_url":"https://api.github.com/users/regiskuckaertz/followers","following_url":"https://api.github.com/users/regiskuckaertz/following{/other_user}","gists_url":"https://api.github.com/users/regiskuckaertz/gists{/gist_id}","starred_url":"https://api.github.com/users/regiskuckaertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/regiskuckaertz/subscriptions","organizations_url":"https://api.github.com/users/regiskuckaertz/orgs","repos_url":"https://api.github.com/users/regiskuckaertz/repos","events_url":"https://api.github.com/users/regiskuckaertz/events{/privacy}","received_events_url":"https://api.github.com/users/regiskuckaertz/received_events","type":"User","site_admin":false},"body":"Not adding the type generates a diverging implicit error, but I see this is used in other places so assuming that's not too bad.","created_at":"2018-05-22T12:31:06Z","updated_at":"2018-05-22T12:31:06Z","html_url":"https://github.com/scanamo/scanamo/pull/215#discussion_r189881989","pull_request_url":"https://api.github.com/repos/scanamo/scanamo/pulls/215","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/scanamo/scanamo/pulls/comments/189881989"},"html":{"href":"https://github.com/scanamo/scanamo/pull/215#discussion_r189881989"},"pull_request":{"href":"https://api.github.com/repos/scanamo/scanamo/pulls/215"}}},"pull_request":{"url":"https://api.github.com/repos/scanamo/scanamo/pulls/215","id":187729931,"html_url":"https://github.com/scanamo/scanamo/pull/215","diff_url":"https://github.com/scanamo/scanamo/pull/215.diff","patch_url":"https://github.com/scanamo/scanamo/pull/215.patch","issue_url":"https://api.github.com/repos/scanamo/scanamo/issues/215","number":215,"state":"open","locked":false,"title":"Semi-automatic derivation with Magnolia","user":{"login":"regiskuckaertz","id":629976,"avatar_url":"https://avatars2.githubusercontent.com/u/629976?v=4","gravatar_id":"","url":"https://api.github.com/users/regiskuckaertz","html_url":"https://github.com/regiskuckaertz","followers_url":"https://api.github.com/users/regiskuckaertz/followers","following_url":"https://api.github.com/users/regiskuckaertz/following{/other_user}","gists_url":"https://api.github.com/users/regiskuckaertz/gists{/gist_id}","starred_url":"https://api.github.com/users/regiskuckaertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/regiskuckaertz/subscriptions","organizations_url":"https://api.github.com/users/regiskuckaertz/orgs","repos_url":"https://api.github.com/users/regiskuckaertz/repos","events_url":"https://api.github.com/users/regiskuckaertz/events{/privacy}","received_events_url":"https://api.github.com/users/regiskuckaertz/received_events","type":"User","site_admin":false},"body":"Addresses #135, #201 and perhaps #168 too.\r\n\r\nThis PR substitutes [Magnolia](http://magnolia.work/) for Shapeless in the derivation of the `DynamoFormat` and `EnumerationDynamoFormat` typeclasses. It's still rough around the edges but it's getting there. To derive a format, users must now write, for type `T`:\r\n```scala\r\nimplicit val format: DynamoFormat[T] = DynamoFormat.derive // if T is not an enumeration\r\nimplicit val format: EnumerationDynamoFormat[T] = DynamoFormat.deriveEnum // otherwise\r\n```\r\n\r\nI'm not familiar enough with the [export-hook](https://github.com/milessabin/export-hook) thingie so will need to do some reading.\r\n\r\nTODO\r\n- [x] Fix tests\r\n- [x] Update scaladocs\r\n- [x] Update tuts","created_at":"2018-05-14T06:23:02Z","updated_at":"2018-05-22T12:31:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"443597248fd2833c10ce0dae92a077a0d446c894","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/scanamo/scanamo/milestones/2","html_url":"https://github.com/scanamo/scanamo/milestone/2","labels_url":"https://api.github.com/repos/scanamo/scanamo/milestones/2/labels","id":3241513,"number":2,"title":"1.0","description":"","creator":{"login":"regiskuckaertz","id":629976,"avatar_url":"https://avatars2.githubusercontent.com/u/629976?v=4","gravatar_id":"","url":"https://api.github.com/users/regiskuckaertz","html_url":"https://github.com/regiskuckaertz","followers_url":"https://api.github.com/users/regiskuckaertz/followers","following_url":"https://api.github.com/users/regiskuckaertz/following{/other_user}","gists_url":"https://api.github.com/users/regiskuckaertz/gists{/gist_id}","starred_url":"https://api.github.com/users/regiskuckaertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/regiskuckaertz/subscriptions","organizations_url":"https://api.github.com/users/regiskuckaertz/orgs","repos_url":"https://api.github.com/users/regiskuckaertz/repos","events_url":"https://api.github.com/users/regiskuckaertz/events{/privacy}","received_events_url":"https://api.github.com/users/regiskuckaertz/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":1,"state":"open","created_at":"2018-04-04T09:24:26Z","updated_at":"2018-05-14T06:23:02Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/scanamo/scanamo/pulls/215/commits","review_comments_url":"https://api.github.com/repos/scanamo/scanamo/pulls/215/comments","review_comment_url":"https://api.github.com/repos/scanamo/scanamo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scanamo/scanamo/issues/215/comments","statuses_url":"https://api.github.com/repos/scanamo/scanamo/statuses/24c058b13a717f36ff9bb0fb4a75dd7c4088ccf7","head":{"label":"regiskuckaertz:rk-magnolia","ref":"rk-magnolia","sha":"24c058b13a717f36ff9bb0fb4a75dd7c4088ccf7","user":{"login":"regiskuckaertz","id":629976,"avatar_url":"https://avatars2.githubusercontent.com/u/629976?v=4","gravatar_id":"","url":"https://api.github.com/users/regiskuckaertz","html_url":"https://github.com/regiskuckaertz","followers_url":"https://api.github.com/users/regiskuckaertz/followers","following_url":"https://api.github.com/users/regiskuckaertz/following{/other_user}","gists_url":"https://api.github.com/users/regiskuckaertz/gists{/gist_id}","starred_url":"https://api.github.com/users/regiskuckaertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/regiskuckaertz/subscriptions","organizations_url":"https://api.github.com/users/regiskuckaertz/orgs","repos_url":"https://api.github.com/users/regiskuckaertz/repos","events_url":"https://api.github.com/users/regiskuckaertz/events{/privacy}","received_events_url":"https://api.github.com/users/regiskuckaertz/received_events","type":"User","site_admin":false},"repo":{"id":110955545,"name":"scanamo","full_name":"regiskuckaertz/scanamo","owner":{"login":"regiskuckaertz","id":629976,"avatar_url":"https://avatars2.githubusercontent.com/u/629976?v=4","gravatar_id":"","url":"https://api.github.com/users/regiskuckaertz","html_url":"https://github.com/regiskuckaertz","followers_url":"https://api.github.com/users/regiskuckaertz/followers","following_url":"https://api.github.com/users/regiskuckaertz/following{/other_user}","gists_url":"https://api.github.com/users/regiskuckaertz/gists{/gist_id}","starred_url":"https://api.github.com/users/regiskuckaertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/regiskuckaertz/subscriptions","organizations_url":"https://api.github.com/users/regiskuckaertz/orgs","repos_url":"https://api.github.com/users/regiskuckaertz/repos","events_url":"https://api.github.com/users/regiskuckaertz/events{/privacy}","received_events_url":"https://api.github.com/users/regiskuckaertz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/regiskuckaertz/scanamo","description":"Simpler DynamoDB access for Scala","fork":true,"url":"https://api.github.com/repos/regiskuckaertz/scanamo","forks_url":"https://api.github.com/repos/regiskuckaertz/scanamo/forks","keys_url":"https://api.github.com/repos/regiskuckaertz/scanamo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/regiskuckaertz/scanamo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/regiskuckaertz/scanamo/teams","hooks_url":"https://api.github.com/repos/regiskuckaertz/scanamo/hooks","issue_events_url":"https://api.github.com/repos/regiskuckaertz/scanamo/issues/events{/number}","events_url":"https://api.github.com/repos/regiskuckaertz/scanamo/events","assignees_url":"https://api.github.com/repos/regiskuckaertz/scanamo/assignees{/user}","branches_url":"https://api.github.com/repos/regiskuckaertz/scanamo/branches{/branch}","tags_url":"https://api.github.com/repos/regiskuckaertz/scanamo/tags","blobs_url":"https://api.github.com/repos/regiskuckaertz/scanamo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/regiskuckaertz/scanamo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/regiskuckaertz/scanamo/git/refs{/sha}","trees_url":"https://api.github.com/repos/regiskuckaertz/scanamo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/regiskuckaertz/scanamo/statuses/{sha}","languages_url":"https://api.github.com/repos/regiskuckaertz/scanamo/languages","stargazers_url":"https://api.github.com/repos/regiskuckaertz/scanamo/stargazers","contributors_url":"https://api.github.com/repos/regiskuckaertz/scanamo/contributors","subscribers_url":"https://api.github.com/repos/regiskuckaertz/scanamo/subscribers","subscription_url":"https://api.github.com/repos/regiskuckaertz/scanamo/subscription","commits_url":"https://api.github.com/repos/regiskuckaertz/scanamo/commits{/sha}","git_commits_url":"https://api.github.com/repos/regiskuckaertz/scanamo/git/commits{/sha}","comments_url":"https://api.github.com/repos/regiskuckaertz/scanamo/comments{/number}","issue_comment_url":"https://api.github.com/repos/regiskuckaertz/scanamo/issues/comments{/number}","contents_url":"https://api.github.com/repos/regiskuckaertz/scanamo/contents/{+path}","compare_url":"https://api.github.com/repos/regiskuckaertz/scanamo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/regiskuckaertz/scanamo/merges","archive_url":"https://api.github.com/repos/regiskuckaertz/scanamo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/regiskuckaertz/scanamo/downloads","issues_url":"https://api.github.com/repos/regiskuckaertz/scanamo/issues{/number}","pulls_url":"https://api.github.com/repos/regiskuckaertz/scanamo/pulls{/number}","milestones_url":"https://api.github.com/repos/regiskuckaertz/scanamo/milestones{/number}","notifications_url":"https://api.github.com/repos/regiskuckaertz/scanamo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/regiskuckaertz/scanamo/labels{/name}","releases_url":"https://api.github.com/repos/regiskuckaertz/scanamo/releases{/id}","deployments_url":"https://api.github.com/repos/regiskuckaertz/scanamo/deployments","created_at":"2017-11-16T10:08:04Z","updated_at":"2018-05-13T13:44:53Z","pushed_at":"2018-05-22T12:27:34Z","git_url":"git://github.com/regiskuckaertz/scanamo.git","ssh_url":"git@github.com:regiskuckaertz/scanamo.git","clone_url":"https://github.com/regiskuckaertz/scanamo.git","svn_url":"https://github.com/regiskuckaertz/scanamo","homepage":"http://www.scanamo.org","size":3115,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"scanamo:master","ref":"master","sha":"9e10215bd780b6f522f8f87ffa1afac2df4d3048","user":{"login":"scanamo","id":32638065,"avatar_url":"https://avatars3.githubusercontent.com/u/32638065?v=4","gravatar_id":"","url":"https://api.github.com/users/scanamo","html_url":"https://github.com/scanamo","followers_url":"https://api.github.com/users/scanamo/followers","following_url":"https://api.github.com/users/scanamo/following{/other_user}","gists_url":"https://api.github.com/users/scanamo/gists{/gist_id}","starred_url":"https://api.github.com/users/scanamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scanamo/subscriptions","organizations_url":"https://api.github.com/users/scanamo/orgs","repos_url":"https://api.github.com/users/scanamo/repos","events_url":"https://api.github.com/users/scanamo/events{/privacy}","received_events_url":"https://api.github.com/users/scanamo/received_events","type":"Organization","site_admin":false},"repo":{"id":50833795,"name":"scanamo","full_name":"scanamo/scanamo","owner":{"login":"scanamo","id":32638065,"avatar_url":"https://avatars3.githubusercontent.com/u/32638065?v=4","gravatar_id":"","url":"https://api.github.com/users/scanamo","html_url":"https://github.com/scanamo","followers_url":"https://api.github.com/users/scanamo/followers","following_url":"https://api.github.com/users/scanamo/following{/other_user}","gists_url":"https://api.github.com/users/scanamo/gists{/gist_id}","starred_url":"https://api.github.com/users/scanamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scanamo/subscriptions","organizations_url":"https://api.github.com/users/scanamo/orgs","repos_url":"https://api.github.com/users/scanamo/repos","events_url":"https://api.github.com/users/scanamo/events{/privacy}","received_events_url":"https://api.github.com/users/scanamo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scanamo/scanamo","description":"Simpler DynamoDB access for Scala","fork":false,"url":"https://api.github.com/repos/scanamo/scanamo","forks_url":"https://api.github.com/repos/scanamo/scanamo/forks","keys_url":"https://api.github.com/repos/scanamo/scanamo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scanamo/scanamo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scanamo/scanamo/teams","hooks_url":"https://api.github.com/repos/scanamo/scanamo/hooks","issue_events_url":"https://api.github.com/repos/scanamo/scanamo/issues/events{/number}","events_url":"https://api.github.com/repos/scanamo/scanamo/events","assignees_url":"https://api.github.com/repos/scanamo/scanamo/assignees{/user}","branches_url":"https://api.github.com/repos/scanamo/scanamo/branches{/branch}","tags_url":"https://api.github.com/repos/scanamo/scanamo/tags","blobs_url":"https://api.github.com/repos/scanamo/scanamo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scanamo/scanamo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scanamo/scanamo/git/refs{/sha}","trees_url":"https://api.github.com/repos/scanamo/scanamo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scanamo/scanamo/statuses/{sha}","languages_url":"https://api.github.com/repos/scanamo/scanamo/languages","stargazers_url":"https://api.github.com/repos/scanamo/scanamo/stargazers","contributors_url":"https://api.github.com/repos/scanamo/scanamo/contributors","subscribers_url":"https://api.github.com/repos/scanamo/scanamo/subscribers","subscription_url":"https://api.github.com/repos/scanamo/scanamo/subscription","commits_url":"https://api.github.com/repos/scanamo/scanamo/commits{/sha}","git_commits_url":"https://api.github.com/repos/scanamo/scanamo/git/commits{/sha}","comments_url":"https://api.github.com/repos/scanamo/scanamo/comments{/number}","issue_comment_url":"https://api.github.com/repos/scanamo/scanamo/issues/comments{/number}","contents_url":"https://api.github.com/repos/scanamo/scanamo/contents/{+path}","compare_url":"https://api.github.com/repos/scanamo/scanamo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scanamo/scanamo/merges","archive_url":"https://api.github.com/repos/scanamo/scanamo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scanamo/scanamo/downloads","issues_url":"https://api.github.com/repos/scanamo/scanamo/issues{/number}","pulls_url":"https://api.github.com/repos/scanamo/scanamo/pulls{/number}","milestones_url":"https://api.github.com/repos/scanamo/scanamo/milestones{/number}","notifications_url":"https://api.github.com/repos/scanamo/scanamo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scanamo/scanamo/labels{/name}","releases_url":"https://api.github.com/repos/scanamo/scanamo/releases{/id}","deployments_url":"https://api.github.com/repos/scanamo/scanamo/deployments","created_at":"2016-02-01T10:58:52Z","updated_at":"2018-05-20T21:34:32Z","pushed_at":"2018-05-22T12:27:35Z","git_url":"git://github.com/scanamo/scanamo.git","ssh_url":"git@github.com:scanamo/scanamo.git","clone_url":"https://github.com/scanamo/scanamo.git","svn_url":"https://github.com/scanamo/scanamo","homepage":"https://www.scanamo.org","size":34164,"stargazers_count":171,"watchers_count":171,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":61,"mirror_url":null,"archived":false,"open_issues_count":39,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":61,"open_issues":39,"watchers":171,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scanamo/scanamo/pulls/215"},"html":{"href":"https://github.com/scanamo/scanamo/pull/215"},"issue":{"href":"https://api.github.com/repos/scanamo/scanamo/issues/215"},"comments":{"href":"https://api.github.com/repos/scanamo/scanamo/issues/215/comments"},"review_comments":{"href":"https://api.github.com/repos/scanamo/scanamo/pulls/215/comments"},"review_comment":{"href":"https://api.github.com/repos/scanamo/scanamo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scanamo/scanamo/pulls/215/commits"},"statuses":{"href":"https://api.github.com/repos/scanamo/scanamo/statuses/24c058b13a717f36ff9bb0fb4a75dd7c4088ccf7"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"regiskuckaertz"}}