osu-tournament-rating / otr-api

API powering osu! Tournament Rating
https://otr.stagec.xyz/
GNU General Public License v3.0
8 stars 5 forks source link

Improve audits #548

Open myssto opened 9 hours ago

myssto commented 9 hours ago

Closes #546

Improve the way audits are generated by adding an AuditIgnoreAttribute that can be used to annotate properties of the auditable entity for which audits should not track changes to. As an example, in this PR all processable entities annotate the LastProcessingDate with the attribute, which prevents audits from creating changelog entries when the property is modified.