Closed
Description
Preconditions (*)
- Magento 2.3.1
Summary (*)
Magento is no longer support inheritance of DTO classes from Magento\Framework\Api\AbstractExtensibleObject
. This class extends abstract class AbstractExtensibleObject extends AbstractSimpleObject
. There is a new code and new modules, for example, Inventory
module which uses inheritance of Magento\Framework\Model\AbstractExtensibleModel
.
Examples (*)
The misunderstanding is caused a point that AbstractExtensibleObject
class marked as @api
, in the sime time AbstractExtensibleModel
does not have the same mark.
Proposed solution
- Add PHP annotation
@api
toAbstractExtensibleModel
- Add PHP annotation
@deprecated
toAbstractExtensibleObject
and@see
which link toAbstractExtensibleModel
CC: @maghamed
Thank you! 😊
Metadata
Metadata
Assignees
Labels
USE ONLY for FRAMEWORK RELATED BUG! E.g If bug related to Catalog Service Contracts use just CatalogThe issue has been fixed in 2.4-develop branchGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedPull Request is created by partner AtwixThe issue has been reproduced on latest 2.3 release