fullstackhero / dotnet-starter-kit

Production Grade Cloud-Ready .NET 8 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
https://fullstackhero.net/dotnet-webapi-boilerplate/
MIT License
5.28k stars 1.58k forks source link

Add IgnoreAuditTrailAttribute to exclude from audit trail #1046

Open AliRafay opened 1 month ago

AliRafay commented 1 month ago

Introduced IgnoreAuditTrailAttribute to mark entities or properties that should be ignored by the audit trail. Applied this attribute to specific properties in AuditableEntity to prevent them from being tracked. Updated AuditInterceptor to respect this attribute, ensuring marked entities and properties are excluded from audit trail processing.

iammukeshm commented 14 minutes ago

@AliRafay Shouldnt the createdBy, and stuff be a part of the audit trail?