Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: support Bytes fields #26

Open
derekwheel opened this issue Jun 3, 2022 · 4 comments
Open

Feature request: support Bytes fields #26

derekwheel opened this issue Jun 3, 2022 · 4 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@derekwheel
Copy link

Hello!
It looks like only string fields are currently supported, but Prisma also supports a Bytes type: https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#bytes
It seems natural that one would want to encrypt fields of this kind as well, are there any plans to support it?

@franky47
Copy link
Member

franky47 commented Jun 3, 2022

That would seem like a good improvement indeed.

Would you like to open a PR?

@franky47 franky47 added good first issue Good for newcomers help wanted Extra attention is needed labels Sep 27, 2022
@huksley
Copy link

huksley commented Oct 26, 2024

Also interest in this. I keep file contents in Bytes type field and it sometimes can contain sensitive data (SSH private key for example)

@franky47
Copy link
Member

Yeah that sounds like something you'd want to encrypt. Would you feel up to opening a PR?

@huksley
Copy link

huksley commented Oct 26, 2024

Unfortunately not right now. I don't feel confident hacking Prisma - my previous attempts at writing client extensions failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants