Add support for Drupal validator plugins without @Annotation

Created on 4 October 2022, over 1 year ago
Updated 8 May 2024, about 2 months ago

Problem/Motivation

Symfony expects validators to have the @Annotation annotation. Drupal doesn't. Because of this, constraint plugins provided by Drupal modules cannot be used in this module. We should try to add support for this.

Steps to reproduce

An example is the GeoConstraint constraint added by the Geofield module β†’ . Enable the module and add the constraint to a property on a request class.

Proposed resolution

Try to include Drupal constraints in the Symfony validator.

✨ Feature request
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium DieterHolvoet Brussels

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024