47ng / 47ng/prisma-field-encryption

Only works for Model and not embedded Type?

Aperta
#74 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
306
Fork
40
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

using mongodb and so a lot of our encrypted fields are in embedded documents, which are done by Type instead of Model: https://www.prisma.io/docs/concepts/components/prisma-schema/data-model#defining-composite-types

I've added this lib, but only get encryption on fields defined in Models.

Supporting types on your roadmap? Want a pr for it?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

The issue is about extending encryption support from Prisma Models to embedded composite Types, specifically for MongoDB. Start by examining the middleware in the source code to understand how field encryption is currently applied to Models. Look at the Prisma schema documentation for composite types. Determine where the encryption logic needs to be modified or extended to handle fields within embedded documents. Testing will involve setting up a MongoDB environment with embedded types to verify encryption works.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
mongodb, typescript
Ambito
backend, databases
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.