47ng / 47ng/prisma-field-encryption

Support for encrypting numbers

Ouverte
#137 2 commentaires 2 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
306
Forks
40
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hey folks,

I recently started using this for a hobby project and noticed that it is possible to encrypt Strings only.

```
Error: encryption enabled for field amount of unsupported type Float: only String fields can be encrypted.
```

Is there some inherent plugin/cryptography limitation to encrypting numbers, or was this just never a priority to implement?

If someone could give me a couple of hints around this I'd love to take a stab at implementing support for it.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.