22010 -Updates AbstractExtensibleObject and AbstractExtensibleModel annotations #22010
Labels
Component: Framework/Api
USE ONLY for FRAMEWORK RELATED BUG! E.g If bug related to Catalog Service Contracts use just Catalog
Fixed in 2.4.x
The issue has been fixed in 2.4-develop branch
Issue: Clear Description
Gate 2 Passed. Manual verification of the issue description passed
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Partner: Atwix
Pull Request is created by partner Atwix
Release Line: 2.3
Reproduced on 2.3.x
The issue has been reproduced on latest 2.3 release
Preconditions (*)
Summary (*)
Magento is no longer support inheritance of DTO classes from
Magento\Framework\Api\AbstractExtensibleObject
. This class extendsabstract class AbstractExtensibleObject extends AbstractSimpleObject
. There is a new code and new modules, for example,Inventory
module which uses inheritance ofMagento\Framework\Model\AbstractExtensibleModel
.Examples (*)
The misunderstanding is caused a point that
AbstractExtensibleObject
class marked as@api
, in the sime timeAbstractExtensibleModel
does not have the same mark.Proposed solution
@api
toAbstractExtensibleModel
@deprecated
toAbstractExtensibleObject
and@see
which link toAbstractExtensibleModel
CC: @maghamed
Thank you! 😊
The text was updated successfully, but these errors were encountered: