Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 954 Bytes

2023-02-02-fix-encoder.md

File metadata and controls

21 lines (19 loc) · 954 Bytes
title issue author author_email
Fix encoder
NEXT-25177
Oliver Skroblin
o.skroblin@shopware.com

Core

  • Removed unused CurrencyEntity::$shippingMethodPrices property.
  • Removed unused ShippingMethodPriceEntity::$currency property.
  • Added PaymentMethodDefinition::shortName field mapping
  • Added SeoUrlDefinition::isValid field mapping
  • Added SeoUrlDefinition::error field mapping

API

  • Changed \Shopware\Core\System\SalesChannel\Api\StructEncoder to only encode entity properties which are mapped in the entity definition.

Upgrade Information

Only mapped properties encoded

The \Shopware\Core\System\SalesChannel\Api\StructEncoder now only encodes entity properties which are mapped in the entity definition. If you have custom code which relies on the encoder to encode properties which are not mapped in the entity definition, you need to adjust your code to map these properties in the entity definition.