Apply Patches

Apply patches for Subrequests and Decoupled Router modules

In a future release, these patches will NOT be required for using Next.js and GraphQL.

At the time of this writing, there are two patches we need to wire everything together.

  1. Open your Drupal composer.json file.
  2. Add the following patches under "extra".


"extra": {
"patches": {
"drupal/subrequests": {
"Get same results on different request": ""
"drupal/decoupled_router": {
"Unable to resolve path on node in other language than default": ""

Note: If you're not using multilingual features such as translation, you can skip the second patch.

  1. Run the following command:
composer require cweagans/composer-patches

You can read more about the patches here: