Open uragun91 opened 2 years ago
Hmm... interesting use case... default values are usually set in the schema. The current implementation doesn't do any encryption in DDLs. If it did, then every time the key changes, it would require a schema update.
hello,
same error when I do :
@Column({
nullable: true,
default: null,
transformer: new EncryptionTransformer(MyEncryptionTransformerConfig),
})
@Nullable(String)
public tags: string;
Thanks
When you specify column like this:
It inserts exact value that is specified in the
default
field instead of encrypted one.I'm testing it with
autoLoadEntities === true