{"action":"opened","issue":{"url":"https://api.github.com/repos/sakuraapi/core/issues/212","repository_url":"https://api.github.com/repos/sakuraapi/core","labels_url":"https://api.github.com/repos/sakuraapi/core/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/sakuraapi/core/issues/212/comments","events_url":"https://api.github.com/repos/sakuraapi/core/issues/212/events","html_url":"https://github.com/sakuraapi/core/issues/212","id":325918374,"number":212,"title":"`@Json({ encrypt: true })` should be able to support encrypting individual array elements","user":{"login":"etsuo","id":6020168,"avatar_url":"https://avatars2.githubusercontent.com/u/6020168?v=4","gravatar_id":"","url":"https://api.github.com/users/etsuo","html_url":"https://github.com/etsuo","followers_url":"https://api.github.com/users/etsuo/followers","following_url":"https://api.github.com/users/etsuo/following{/other_user}","gists_url":"https://api.github.com/users/etsuo/gists{/gist_id}","starred_url":"https://api.github.com/users/etsuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etsuo/subscriptions","organizations_url":"https://api.github.com/users/etsuo/orgs","repos_url":"https://api.github.com/users/etsuo/repos","events_url":"https://api.github.com/users/etsuo/events{/privacy}","received_events_url":"https://api.github.com/users/etsuo/received_events","type":"User","site_admin":false},"labels":[{"id":488829457,"url":"https://api.github.com/repos/sakuraapi/core/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/sakuraapi/core/milestones/21","html_url":"https://github.com/sakuraapi/core/milestone/21","labels_url":"https://api.github.com/repos/sakuraapi/core/milestones/21/labels","id":3246339,"number":21,"title":"next","description":"","creator":{"login":"etsuo","id":6020168,"avatar_url":"https://avatars2.githubusercontent.com/u/6020168?v=4","gravatar_id":"","url":"https://api.github.com/users/etsuo","html_url":"https://github.com/etsuo","followers_url":"https://api.github.com/users/etsuo/followers","following_url":"https://api.github.com/users/etsuo/following{/other_user}","gists_url":"https://api.github.com/users/etsuo/gists{/gist_id}","starred_url":"https://api.github.com/users/etsuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etsuo/subscriptions","organizations_url":"https://api.github.com/users/etsuo/orgs","repos_url":"https://api.github.com/users/etsuo/repos","events_url":"https://api.github.com/users/etsuo/events{/privacy}","received_events_url":"https://api.github.com/users/etsuo/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":1,"state":"open","created_at":"2018-04-05T21:27:23Z","updated_at":"2018-05-24T00:07:49Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-05-24T00:07:48Z","updated_at":"2018-05-24T00:07:48Z","closed_at":null,"author_association":"MEMBER","body":"```\r\n  @Db() @Json({ encrypt: 'array', type: 'id' })\r\n  locationIds: LocationId[] = [];\r\n```\r\nIf true, assume the entire property should be encrypted, otherwise, encrypt individual elements within the array such that the property ends up being an array of elements each individually encrypted."}}
{"actor":{"display_login":"etsuo"}}