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
Be aware that there are multiple different service definitions [Yaml](/src/Resources/config).
126
+
* The services.yml file is always loaded first
127
+
* Then if the secret configuration setting is used services_with_secret.yml will be loaded otherwise services_with_secretfactory.yml
128
+
* Symfony 5 and 6 where Doctrine ORM version matches ^3.0 service_listeners_with_attributes.yml will be loaded that does not support annotations
129
+
* Symfony 5 and 6 with an older Doctrine version services_subscriber_with_annotations_and_attributes.yml will be loaded that supports both attributes and annotations
130
+
* Symfony 7 always just loads attributes only service_listeners_with_attributes.yml service definition
131
+
132
+
If has been reported that in some cases the encryption and decryption does not work as expected and the service definitions assisted in fixing the issues.
133
+
134
+
One solution that have been reported was to copy the "ambta_doctrine_encrypt.orm_subscriber" definition from the service_listeners_with_attributes.yml file into
135
+
the project's services.yaml file.
136
+
103
137
Due to the Doctrine Annotations [deprecation](https://www.doctrine-project.org/projects/doctrine-annotations/en/stable/index.html#deprecation-notice) it has been made possible to change the reader to the ambta_doctrine_attribute_reader reader only and skip using annotations completely.
104
138
105
139
Attributes are faster to read than annotations so it is definitely recommended.
0 commit comments