Commit 1a94a29
Merge caching for entity fields (#996)
I noticed an issue with missing caching tags when requesting long text fields (wysiwyg editor-enabled) with inline media. The cache tags of the inline media were not available in the response. I traced it down to this file (EntityFieldBase.php) in the graphql_core sub-module.
With this small change, the caching tags set by the entity fields will be used in the response. And it solves the issue that a change of an image in a media item does not invalidate the cache of the pages where it is used in the long text fields.
Co-authored-by: Luis Gil <luis.gil@biko2.com>1 parent 9e09c8e commit 1a94a29
1 file changed
Lines changed: 10 additions & 1 deletion
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | | - | |
| 30 | + | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| |||
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
43 | 52 | | |
44 | 53 | | |
45 | 54 | | |
| |||
0 commit comments