Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
"This value should be of the correct primitive type" is a too generic validation message and is not helpful to users. We should provide one concrete message per validation error in PrimitiveTypeConstraint and PrimitiveTypeConstraintValidator.
Comments
Comment #1
fagosee #2012690: [Meta] Add useful information to 'type' constraints error messages