[PROPOSAL] Add attributes metadata support
colorninja opened this issue · comments
Andrey Tsarev commented
Please prefix your issue with one of the following: [BUG] [PROPOSAL] [QUESTION].
Package version, Laravel version
doctrine/orm:2.9.1
laravel-doctrine/orm: 1.7.7
Expected behaviour
Users must be able to specify the new attributes driver when using PHP 8+
Actual behaviour
There is no metadata driver in the package.
Steps to reproduce the behaviour
- Create new Laravel project
- Install laravel-doctrine/orm
- Try to use #[ORM\Entity] and #[ORM\Table]
- You get an error
Class "....." is not a valid entity or mapped super class.
Einar Gangsø commented
Your PR have been released with 1.5.13, 1.6.7 and 1.7.9. Please try it out. Thanks 👍🏻
Jurgen Bosch commented
@eigan This does not seem to work with the migrations:diff command. Are you aware of that?