Please add your expectations for @deprecated annotations #10133
Labels
Fixed in 2.2.x
The issue has been fixed in 2.2 release line
Fixed in 2.3.x
The issue has been fixed in 2.3 release line
improvement
Issue: Format is not valid
Gate 1 Failed. Automatic verification of issue format is failed
Hello,
I try to create own code based on the
\Magento\Checkout\Controller\Cart\Add
class. I see that this class uses\Magento\Checkout\Model\Cart
class that has@deprecated
annotation. I could use other class in my code but I don't know your expectations - which other class does Magento team use instead of deprecated\Magento\Checkout\Model\Cart
?It would be more pleasantly if
@deprecated
annotations will have comments that point to expected replacements. Something like:I know, there are a lot of deprecated classes/methods in the code (> 500) and Magento team cannot comment all of them at once. However, the source code is a primary documentation for developers and all developers read the sources. Your plans (expectations) will be more understandable for us if you will write it just a little wider in the sources.
Thanks.
The text was updated successfully, but these errors were encountered: