Remove addition of a object type in all props

Created on 28 October 2025, 3 days ago

Problem/Motivation

Let's challenge this part of in https://git.drupalcode.org/project/drupal/-/blob/11.x/core/lib/Drupal/Co...

        // All props should also support "object" this allows deferring
        // rendering in Twig to the render pipeline.
        $type = $prop_schema['type'] ?? '';
        $schema['properties'][$name]['type'] = array_unique([
          ...(array) $type,
          'object',
        ]);

Proposed resolution

Remove this. Check if the tests are still OK.

📌 Task
Status

Needs review

Version

11.3 🔥

Component

single-directory components

Created by

🇫🇷France pdureau Paris

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

Comments & Activities

Not all content is available!

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

No activities found.

Production build 0.71.5 2024