core icon indicating copy to clipboard operation
core copied to clipboard

`@Json({ encrypt: true })` should be able to support encrypting individual array elements

Open etsuo opened this issue 8 years ago • 0 comments

  @Db() @Json({ encrypt: 'array', type: 'id' })
  locationIds: LocationId[] = [];

If 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.

etsuo avatar May 24 '18 00:05 etsuo