Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this library support entities which mappings are defined using YAML? #72

Open
nicodemuz opened this issue Jul 9, 2022 · 1 comment

Comments

@nicodemuz
Copy link

I saw only examples using annotations. Is there support for entities which mappings are defined using YAML?

@r3hp1c
Copy link

r3hp1c commented Jul 25, 2023

@nicodemuz please note that Doctrine deprecated Entity mappings defined in YAML: https://www.doctrine-project.org/projects/doctrine-orm/en/2.15/reference/basic-mapping.html

They also deprecated DocBlock Annotations. Version 3.0 of doctrine/orm will only support PHP Attributes, XML and PHP code.

Currently only Annotations and Attributes are supported by this package.

I have logged issues in this repository (https://github.com/DoctrineEncryptBundle/DoctrineEncryptBundle) to support the same as Doctrine ORM 3.0 and also added an issue to at some later stage remove Annotation support:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants