API Platform version(s) affected: 2.7.1
Description
Maybe this is intened but after running the upgrade command, a new ApiResource was added in my related entity class but the #[ApiSubresource] attribute was not removed.
How to reproduce
Create two related entities, add #[ApiSubresource] attribute and run the upgrade command.
Possible Solution
If this is not intended the command should remove the attribute after creating the new GetCollection.
API Platform version(s) affected: 2.7.1
Description
Maybe this is intened but after running the upgrade command, a new ApiResource was added in my related entity class but the
#[ApiSubresource]attribute was not removed.How to reproduce
Create two related entities, add #[ApiSubresource] attribute and run the upgrade command.
Possible Solution
If this is not intended the command should remove the attribute after creating the new GetCollection.