{"action":"created","issue":{"url":"https://api.github.com/repos/pubkey/rxdb/issues/384","repository_url":"https://api.github.com/repos/pubkey/rxdb","labels_url":"https://api.github.com/repos/pubkey/rxdb/issues/384/labels{/name}","comments_url":"https://api.github.com/repos/pubkey/rxdb/issues/384/comments","events_url":"https://api.github.com/repos/pubkey/rxdb/issues/384/events","html_url":"https://github.com/pubkey/rxdb/issues/384","id":278552841,"number":384,"title":"[docs] Unique fields","user":{"login":"natew","id":12100,"avatar_url":"https://avatars0.githubusercontent.com/u/12100?v=4","gravatar_id":"","url":"https://api.github.com/users/natew","html_url":"https://github.com/natew","followers_url":"https://api.github.com/users/natew/followers","following_url":"https://api.github.com/users/natew/following{/other_user}","gists_url":"https://api.github.com/users/natew/gists{/gist_id}","starred_url":"https://api.github.com/users/natew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natew/subscriptions","organizations_url":"https://api.github.com/users/natew/orgs","repos_url":"https://api.github.com/users/natew/repos","events_url":"https://api.github.com/users/natew/events{/privacy}","received_events_url":"https://api.github.com/users/natew/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-01T18:22:41Z","updated_at":"2017-12-04T07:04:25Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Notice there is `uniqueItems` documented, and that primary fields are assumed to be unique, but didn't see anything for just `unique` fields.\r\n\r\nIt does seem like it may work by searching code, but perhaps some tests + docs would help. I'm going to test to see if it works now as-is, and then could help with some docs."},"comment":{"url":"https://api.github.com/repos/pubkey/rxdb/issues/comments/348876732","html_url":"https://github.com/pubkey/rxdb/issues/384#issuecomment-348876732","issue_url":"https://api.github.com/repos/pubkey/rxdb/issues/384","id":348876732,"user":{"login":"pubkey","id":8926560,"avatar_url":"https://avatars3.githubusercontent.com/u/8926560?v=4","gravatar_id":"","url":"https://api.github.com/users/pubkey","html_url":"https://github.com/pubkey","followers_url":"https://api.github.com/users/pubkey/followers","following_url":"https://api.github.com/users/pubkey/following{/other_user}","gists_url":"https://api.github.com/users/pubkey/gists{/gist_id}","starred_url":"https://api.github.com/users/pubkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pubkey/subscriptions","organizations_url":"https://api.github.com/users/pubkey/orgs","repos_url":"https://api.github.com/users/pubkey/repos","events_url":"https://api.github.com/users/pubkey/events{/privacy}","received_events_url":"https://api.github.com/users/pubkey/received_events","type":"User","site_admin":false},"created_at":"2017-12-04T07:04:25Z","updated_at":"2017-12-04T07:04:25Z","author_association":"OWNER","body":"We currently do not have unique fields.\r\n`uniqueItems` is part of json-schema, but only works for elements of arrays.\r\n"}}
{"actor":{"display_login":"pubkey"}}