Allow full range of typed_data 2.x to support Drupal 11 upgrades

Created on 17 June 2025, 4 months ago

Problem/Motivation

Currently graphql specifies the following constraint for drupal/typed_data in its composer.json:

"drupal/typed_data": "^1.0 || ^2.0"

However, this constraint does not allow installation of typed_data version 2.1, which is the first 2.x version compatible with both Drupal 10 and Drupal 11.

As a result, it’s not possible to use graphql with the recommended version of typed_data for Drupal 11.

Steps to reproduce

Install typed_data version 2.1 with graphql module in a Drupal 11 project.

Proposed resolution

Update the composer.json constraint in the graphql module to:

"drupal/typed_data": "^1.0 || ^2"

This change will allow installation of any future 2.x release, including 2.1, ensuring compatibility with Drupal 11.

πŸ“Œ Task
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡«πŸ‡·France iheb.attia

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024