mglaman / drupal-change-record-triage

Used to triage Drupal change records to ensure phpstan-drupal, drupal-rector, and upgrade_status have appropriate issues.
MIT License
6 stars 0 forks source link

The 'config_object' schema type can only be placed at the root level #752

Open github-actions[bot] opened 2 days ago

github-actions[bot] commented 2 days ago

https://www.drupal.org/node/3459863

Introduced in branch/version: 10.3.x / 10.3.2

The config_object schema type can only be used at the root level of a config schema. In 10.3.0 and above, using it at the wrong level of the config schema will trigger a deprecation error and this will throw an exception in 11.0.0.

The incorrect config schema should be fixed to no longer use config_object for the non root level config property. The simplest replacement is mapping but as always care should be taken to use the most appropriate type.

Note that in 10.3.0 and 10.3.1 a LogicException was already thrown, but this has been changed to a deprecation error to ease the transition for contributed modules and sites.

bbrala commented 2 days ago

hm yml changes.