{"action":"created","issue":{"url":"https://api.github.com/repos/clarkie/dynogels/issues/31","repository_url":"https://api.github.com/repos/clarkie/dynogels","labels_url":"https://api.github.com/repos/clarkie/dynogels/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/clarkie/dynogels/issues/31/comments","events_url":"https://api.github.com/repos/clarkie/dynogels/issues/31/events","html_url":"https://github.com/clarkie/dynogels/issues/31","id":177729947,"number":31,"title":"prevent overwriting based on global secondary index","user":{"login":"edupre","id":2662723,"avatar_url":"https://avatars.githubusercontent.com/u/2662723?v=3","gravatar_id":"","url":"https://api.github.com/users/edupre","html_url":"https://github.com/edupre","followers_url":"https://api.github.com/users/edupre/followers","following_url":"https://api.github.com/users/edupre/following{/other_user}","gists_url":"https://api.github.com/users/edupre/gists{/gist_id}","starred_url":"https://api.github.com/users/edupre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edupre/subscriptions","organizations_url":"https://api.github.com/users/edupre/orgs","repos_url":"https://api.github.com/users/edupre/repos","events_url":"https://api.github.com/users/edupre/events{/privacy}","received_events_url":"https://api.github.com/users/edupre/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/clarkie/dynogels/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-19T08:37:04Z","updated_at":"2016-09-30T08:42:16Z","closed_at":"2016-09-30T08:42:16Z","body":"Hello,\r\nMy understanding is that `{overwrite : false}` prevents overwriting only based on the partition key.\r\n\r\nWhen I create an object with a generated partition key (uuid), how can I prevent overwriting based on another attribute (for instance, an email address) ? Note that this attribute could be a global secondary index.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/clarkie/dynogels/issues/comments/250691626","html_url":"https://github.com/clarkie/dynogels/issues/31#issuecomment-250691626","issue_url":"https://api.github.com/repos/clarkie/dynogels/issues/31","id":250691626,"user":{"login":"clarkie","id":2292639,"avatar_url":"https://avatars.githubusercontent.com/u/2292639?v=3","gravatar_id":"","url":"https://api.github.com/users/clarkie","html_url":"https://github.com/clarkie","followers_url":"https://api.github.com/users/clarkie/followers","following_url":"https://api.github.com/users/clarkie/following{/other_user}","gists_url":"https://api.github.com/users/clarkie/gists{/gist_id}","starred_url":"https://api.github.com/users/clarkie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarkie/subscriptions","organizations_url":"https://api.github.com/users/clarkie/orgs","repos_url":"https://api.github.com/users/clarkie/repos","events_url":"https://api.github.com/users/clarkie/events{/privacy}","received_events_url":"https://api.github.com/users/clarkie/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T08:42:16Z","updated_at":"2016-09-30T08:42:16Z","body":"For more information on conditional writes please see #32 "}}
{"actor":{"display_login":"clarkie"}}