@tinacms/graphql 0.0.0-20219523220 → 0.0.0-202196172233

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # tina-graphql
2
2
 
3
- ## 0.0.0-20219523220
3
+ ## 0.0.0-202196172233
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -8,6 +8,7 @@
8
8
 
9
9
  ### Patch Changes
10
10
 
11
+ - 2908f8176: Fixes an issue where nested reference fields weren't updated properly when their values changed.
11
12
  - 5d83643b2: Adds create document mutations
12
13
 
13
14
  ## 0.54.3
package/dist/index.js CHANGED
@@ -2180,9 +2180,9 @@ var resolve = (_0) => __async(void 0, [_0], function* ({
2180
2180
  })
2181
2181
  });
2182
2182
  paths.forEach((p) => {
2183
- const item = import_lodash6.default.get(res, p.path);
2183
+ const item = import_lodash6.default.get(res, p.path.slice(0, 3));
2184
2184
  if (item) {
2185
- item.paths = [p];
2185
+ item.paths = [...item.paths || [], p];
2186
2186
  }
2187
2187
  });
2188
2188
  mutationPaths.forEach((mutationPath) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/graphql",
3
- "version": "0.0.0-20219523220",
3
+ "version": "0.0.0-202196172233",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "files": [