[Closed] Is it possible to export Doctrine configuration with Attributes

+4 votes
asked Nov 24, 2021 in Solved by danmartin (190 points)
recategorized Jun 9, 2022 by ludek.vodicka

Is there any way to export Doctrine entity classes configured with Attributes instead of Annotations?

https://www.doctrine-project.org/projects/doctrine-orm/en/2.10/reference/attributes-reference.html

If not, is this feature planned soon?

2 Answers

0 votes
answered Nov 24, 2021 by ludek.vodicka Skipper developer (140,450 points)
selected Jun 9, 2022 by ludek.vodicka
 
Best answer

Hello,

thank you for your suggestion.

We know about this update and we're already planning this update. Unfortunately, this new language means a lot of work to implement a completely new parser/exporter.

Another problem is Gedmo support. We will be not able to support partial export in annotations and partial export in Attributes. So we need to wait also for Gedmo and update the complete export for Gedmo extensions.

We already started some works on parser engine prototype but I can't promise you the exact term of delivery.

commented Jan 26, 2022 by davidsolc (160 points)

Hello, any update on this?

commented Jan 26, 2022 by ludek.vodicka Skipper developer (140,450 points)

sorry, not yet.

commented Jun 8, 2022 by ludek.vodicka Skipper developer (140,450 points)

Soon we will have ready the first alfa version with Doctrine2 attributes support. In case you want to test it and help us with initial testing, please write me to [email protected]

Thanks

0 votes
answered Jun 9, 2022 by ludek.vodicka Skipper developer (140,450 points)

A new beta version with first attributes support is available here: https://www.skipper18.com/support/402/downloads-skipper-beta

Please test it and let us know your experiences. We had to rewrite a lot of parts of PHP code parsers/generators/mergers and improved a lot of areas of code formating.

All our unit tests and testing projects are now green but there can be still a lot of bugs. So please report anything unusual.

Thanks

...