Closed Ahmadre closed 1 year ago
Notice: I've added the @default("")
fields to try to fix this, but it also didn't work...
Do you have a reproduction repository?
Do you have a reproduction repository?
If you give me your gitlab.com username or email I can add you to the project. Just write me via rebar.ahmad@gmail.com
I think I found the issue: the annotation for hash fields should be /// @encryption:hash(fieldName)
, not /// @encrypted:hash(fieldName)
.
I think I found the issue: the annotation for hash fields should be
/// @encryption:hash(fieldName)
, not/// @encrypted:hash(fieldName)
.
you're totally right 🙈.
Thank you for your finding ❤️.
I created a brand new little nodejs project and installed prisma + this package.
After creating a document in my MongoDB Atlas (normal mongodb+srv connection), Hashes are not computed...
is this a bug?
Because as I know: Mongo is not saving nullable fields into the db. But I don't know why prisma is not computing the hashes...