Active
Project:
Drupal core
Version:
main
Component:
configuration system
Priority:
Major
Category:
Plan
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2024 at 15:02 UTC
Updated:
24 Jun 2024 at 10:51 UTC
Jump to comment: Most recent
All of these can be solved by getting Drupal core to 100% validatability! And after core, contrib.
See above.
🙏 Use the tags Configuration schema, validation
on all issues.
PrimitiveTypeConstraintValidator and ConfigSchemaChecker consistent with each other: #3421993: PrimitiveTypeConstraintValidator vs ConfigSchemaChecker: test coverage to establish the status quo
#config_target did for simple config forms: #3231342: [PP-2] Introduce ConfigEntityForm to standardize use of validation constraints for config entitieslangcode: … for translatable config only: #3427564: Require `langcode: …` only for simple config that contains translatable valuesFullyValidatable constraint: #3364109: Configuration schema & required values: add test coverage for `nullable: true` validation support
#config_target for ConfigFormBase: #3382510: Introduce a new #config_target Form API property to make it super simple to use validation constraints on simple config forms, and adopt it in several core config formsConfigEntityValidationTestBase to gradually be confident about the validation of each config entity type: #3324150: Add validation constraints to config_entity.dependenciesTBD
TBD
TBD
All config in Drupal core is now fully validatable.
Comments
Comment #2
wim leersComment #3
wim leersComment #4
wim leersComment #5
thejimbirch commentedWell done.
Comment #6
wim leersMade the summary more complete. And marked #2164373 fixed with an explanation for why: #2164373-48: [META] Untie config validation from form validation — enables validatable Recipes, decoupled admin UIs … — tl;dr: it has fulfilled its purpose 😊
Comment #7
narendrar