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
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.
The text was updated successfully, but these errors were encountered:
Even by using php-cs-fixer after? Maybe we forgot something even though it's not a big deal as they won't be processed in 3.0 (or legacy flag to false).
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.
The text was updated successfully, but these errors were encountered: