changelog/release-6-6-0-0/2023-06-13-ensure-databags-convert-parameters-consistently.md
Rama trunk · réplica de lectura del repositorio original.
---
title: Ensure databags convert parameters consistently
issue: NEXT-31821
author: Joshua Behrens
author_email: code@joshua-behrens.de
author_github: @JoshuaBehrens
---
# Core
* Changed `\Shopware\Core\Framework\Validation\DataBag\DataBag::set` and `\Shopware\Core\Framework\Validation\DataBag\DataBag::add` to convert arrays to `\Shopware\Core\Framework\Validation\DataBag\DataBag` like the constructor
* Added `\Shopware\Core\Framework\Validation\DataBag\DataBag::__clone` to deep clone