Skip to content

Commit 645ad3f

Browse files
committed
Added missing cache context to url translation field.
1 parent ed05e68 commit 645ad3f

File tree

1 file changed

+1
-0
lines changed
  • modules/graphql_core/src/Plugin/GraphQL/Fields/Routing

1 file changed

+1
-0
lines changed

modules/graphql_core/src/Plugin/GraphQL/Fields/Routing/Translate.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* description = @Translation("The translated url object."),
2020
* type = "Url",
2121
* parents = {"Url"},
22+
* response_cache_contexts={"languages:language_url"},
2223
* arguments = {
2324
* "language" = "LanguageId!"
2425
* }

0 commit comments

Comments
 (0)