You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: www/content/tutorials/graphql/apply-patches.mdx
+6-16Lines changed: 6 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,45 +5,35 @@ weight: 30
5
5
group: Quick Start (GraphQL)
6
6
---
7
7
8
+
At the time of this writing, a patch is required in order to use multilingual features such as translation.
9
+
8
10
<Callout>
9
11
10
-
In a future release, these patches will NOT be required for using Next.js and GraphQL.
12
+
**Note:** If you're not using multilingual features such as translation, you can skip this step.
11
13
12
14
</Callout>
13
15
14
-
At the time of this writing, there are two patches we need to wire everything together.
15
-
16
16
1. Open your Drupal `composer.json` file.
17
-
2. Add the following patches under `"extra"`.
17
+
2. Add the following patch under `"extra"`.
18
18
19
19
```json title=composer.json
20
20
"extra": {
21
21
// highlight-start
22
22
"patches": {
23
-
"drupal/subrequests": {
24
-
"#3049395-47 - Page Cache causes different subrequests to return the same responses": "https://www.drupal.org/files/issues/2022-12-06/subrequests-3049395-chnage-request-type-47.patch"
25
-
},
26
23
"drupal/decoupled_router": {
27
-
"#3111456-59 - Unable to resolve path on node in other language than default": "https://www.drupal.org/files/issues/2022-12-01/decouple_router-3111456-resolve-language-issue-58--get-translation.patch"
24
+
"Unable to resolve path on node in other language than default": "https://www.drupal.org/files/issues/2024-10-22/decoupled_router-3111456-resolve-langcode-issue-78--external-redirects.patch"
28
25
}
29
26
},
30
27
// highlight-end
31
28
}
32
29
```
33
30
34
-
<Callout>
35
-
36
-
**Note:** If you're not using multilingual features such as translation, you can skip the second patch.
Copy file name to clipboardExpand all lines: www/content/tutorials/quick-start/apply-patches.mdx
+10-14Lines changed: 10 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,41 +5,37 @@ weight: 30
5
5
group: Quick Start
6
6
---
7
7
8
-
At the time of this writing, there are two patches we need to wire everything together.
8
+
At the time of this writing, a patch is required in order to use multilingual features such as translation.
9
+
10
+
<Callout>
11
+
12
+
**Note:** If you're not using multilingual features such as translation, you can skip this step.
13
+
14
+
</Callout>
9
15
10
16
1. Open your Drupal `composer.json` file.
11
-
2. Add the following patches under `"extra"`.
17
+
2. Add the following patch under `"extra"`.
12
18
13
19
TODO - validate that these patches are necessary and correct.
14
20
15
21
```json title=composer.json
16
22
"extra": {
17
23
// highlight-start
18
24
"patches": {
19
-
"drupal/subrequests": {
20
-
"Get same results on different request": "https://www.drupal.org/files/issues/2019-07-18/change_request_type-63049395-09.patch"
21
-
},
22
25
"drupal/decoupled_router": {
23
-
"Unable to resolve path on node in other language than default": "https://www.drupal.org/files/issues/2022-11-30/decouple_router-3111456-resolve-language-issue-58.patch"
26
+
"Unable to resolve path on node in other language than default": "https://www.drupal.org/files/issues/2024-10-22/decoupled_router-3111456-resolve-langcode-issue-78--external-redirects.patch"
24
27
}
25
28
},
26
29
// highlight-end
27
30
}
28
31
```
29
32
30
-
<Callout>
31
-
32
-
**Note:** If you're not using multilingual features such as translation, you can skip the second patch.
0 commit comments