Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Only include direct relations in delete violation error messages
issue: NEXT-13085
author: Tobias Berge
author_email: [email protected]
author_github: @tobiasberge
---
- Added new optional parameter
$restrictDeleteOnlyFirstLevel
in order to only include entities directly associated with the definition to the following methods:Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityForeignKeyResolver::getAffectedDeleteRestrictions
Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityForeignKeyResolver::fetch
Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityForeignKeyResolver::fetchAssociation