-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
The point is that the audit log should be able to save not all fields in all cases
class Entity {
private string $field1;
private string $field2;
private string $field3;
private string $field4;
}
If default - Here we went to every field
data_dog_audit:
audited_entities:
App\Entity\Entity: ~
If mode include - Here we save only the fields field1, field2, field3
data_dog_audit:
audited_entities:
App\Entity\Entity:
mode: 'include'
fields:
- field1
- field2
- field3
If mode exclude - Here we exclude field4
data_dog_audit:
audited_entities:
App\Entity\Entity:
mode: 'exclude'
fields:
- field4
Metadata
Metadata
Assignees
Labels
No labels