Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

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

@etsuo

Description

@etsuo
  @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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions