sonata-project/EntityAuditBundle

Support Annotations

AlexeyKosov opened this issue · 4 comments

Feature Request

The original package (the master branch) had support for annotations so that it was possible to configure entities like

use SimpleThings\EntityAudit\Mapping\Annotation as Audit;

/**
 * @ORM\Entity()
 * @Audit\Auditable()
 */
class Entity {
    /**
     * @ORM\Column(name="updated_at", type="datetime", nullable=true)
     * @Audit\Ignore()
     */
    protected $updatedAt;
}

Are there any plans to merge that functionality at some point?

I'm not sure any new maintainer are aware about the changes made to the previous master branch.
Any improvement is welcomed if you can find the PR with this feature and if you want to make the new PR.

@AlexeyKosov i created a different audit bundle that also uses annotations and has extra features, https://packagist.org/packages/drjele/doctrine-audit

(if my comment should not be here, let me know and i will delete it)

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.