[META] Support all composite Symfony contraints

Created on 16 April 2025, 9 days ago

Problem/Motivation

In 📌 Remove the restriction from RecursiveContextualValidator that prevents using custom groups. Needs review we created support for the first composite Symfony constraint. It was suggested to see if we can support all of them to make our life's easier. This meta is to manage those issues.

The classes are all in the namespace of Symfony\Component\Validator\Constraints:

  1. All
  2. AtLeastOneOf 📌 Remove the restriction from RecursiveContextualValidator that prevents using custom groups. Needs review
  3. Collection
  4. Compound
  5. Existence
  6. Optional
  7. Required
  8. Sequentially
  9. When

Some seem already in use in Drupal\Core\Recipe\Recipe. Lets investigate what we can actually support using AtLeastOneOf as a template to support this without having to implement the contraint ourselves.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component

other

Created by

🇳🇱Netherlands bbrala Netherlands

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024