Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@evanlurvey
Copy link
Contributor

I have a use case where I want to store bytes but I want to use the sensitive option.

I have a use case where I want to store bytes but I want to use the sensitive option.
Copy link
Member

@a8m a8m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this @evanlurvey.

Would you mind adding an example field to our integration tests and run the codegen? See: https://github.com/ent/ent/blob/master/entc/integration/ent/schema/fieldtype.go#L198

@evanlurvey
Copy link
Contributor Author

@a8m I think I did what you asked. Not sure if I did the generate correctly, I ran go generate ./... from the entc/intergration/ dir.

@a8m a8m merged commit 300f0b5 into ent:master Sep 25, 2021
@a8m
Copy link
Member

a8m commented Sep 25, 2021

Thanks for your contribution @evanlurvey πŸ™

@all-contributors please add @evanlurvey for code

@allcontributors
Copy link
Contributor

@a8m

I've put up a pull request to add @evanlurvey! πŸŽ‰

@evanlurvey evanlurvey deleted the patch-1 branch September 25, 2021 21:05
yonidavidson pushed a commit to yonidavidson/ent that referenced this pull request Nov 24, 2021
* Add Sensitive() option to bytesBuilder

I have a use case where I want to store bytes but I want to use the sensitive option.

* Added new field test and ran generation

Co-authored-by: Evan Lurvey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants