Skip to content

Latest commit

 

History

History
7 lines (7 loc) · 449 Bytes

2022-08-23-check-for-runtime-fields-in-criteria.md

File metadata and controls

7 lines (7 loc) · 449 Bytes
title issue
Check for Runtime fields in Criteria
NEXT-22410

Core

  • Changed \Shopware\Core\Framework\DataAbstractionLayer\Search\ApiCriteriaValidator to check if a Runtime field was used in the criteria and throw an exception if that is the case.
  • Changed \Shopware\Core\Framework\Api\ApiDefinition\Generator\OpenApi\OpenApiDefinitionSchemaBuilder to add a notice to all runtime fields, that they cannot be used inside a criteria.