47ng / 47ng/prisma-field-encryption

Only works for Model and not embedded Type?

Offen
#74 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
306
Forks
40
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
mongodb, typescript
Bereich
backend, databases
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.