-
Notifications
You must be signed in to change notification settings - Fork 110
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
Enhancement: Needs ExcludeFromHistory property, for fields. #30
Comments
Good idea, this is a real requirement. You can PR for this or I will done this in next release. |
I don't know how much time I have to put into this. I'll see if I can work on this this week. Otherwise, Jan 2019. |
Thanks for the gr8 job. Can we also have a feature to exclude a whole DbSet? I really don't need history for all the entities. |
When release new version, this should be supported. |
I started on this, then realized that Newtonsoft's library is being used. I suspect that a whole model implementing this would cover the model, if the serialization code isn't ignoring these attributes. |
I had a case where i needed to exclude binary data, however a more advanced feature could be using a hash for the binary data instead of the difference. I completely agree with an attribute for |
When recording history, there are fields that I don't want their real data recorded in history. These are like Personal Identifying data, or passwords (even after being hashed).
Though making this an extension method that would work in the OnModelCreating call, it would also be nice to see it as an attribute for the model fields themselves.
[ExcludeFromHistory(ReplacementValue="")]
The text was updated successfully, but these errors were encountered: