Change record status: 
Project: 
Introduced in branch: 
11.3.x
Introduced in version: 
11.3.0
Description: 

A new constraint MappingCollection has been added to Drupal core. The constraint can be used that at least one of a set of given constraints is satisfied. The MappingCollection constraint extends Symfony's Collection constraint class and allows the constraints within the mapping to provided by ID.

The first usage is in layout_builder.schema.yml, to validate in the inline_block configuration schema that either the block_serialized property or the block_id and block_revision_id properties are provided.

Impacts: 
Module developers