You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jerome2710
changed the title
attributes instead of annotations
ORM\Embedded attribute not working (formerly: attributes instead of annotations)
Jan 3, 2024
Annotations are being removed in favor of PHP 8 attributes.
Could we get an
#[Encrypted]
attribute, just like the current@Encrypted
annotation?This will likely result in the need of adjusting the subscriber as well, as it currently uses the
Doctrine\Common\Annotations\Reader
.It is currently possible combine Doctrine attributes and the Encrypted annotation. However, when using the
#[ORM\Embeddable]
attribute, the subscriber does not decrypt embeddables as it only scans for annotations: https://github.com/absolute-quantum/DoctrineEncryptBundle/blob/master/src/Subscribers/DoctrineEncryptSubscriber.php#L246.The text was updated successfully, but these errors were encountered: