@isograph/react 0.0.0-main-28a42bcf → 0.0.0-main-236932e6

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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @isograph/react@0.0.0-main-28a42bcf compile-libs /home/runner/work/isograph/isograph/libs/isograph-react
2
+ > @isograph/react@0.0.0-main-236932e6 compile-libs /home/runner/work/isograph/isograph/libs/isograph-react
3
3
  > rm -rf dist/* && tsc -p tsconfig.pkg.json
4
4
 
package/dist/core/read.js CHANGED
@@ -635,7 +635,7 @@ function readImperativelyLoadedField(environment, field, root, variables, nested
635
635
  kind: 'Success',
636
636
  data: (args) => [
637
637
  // Stable id
638
- root.__link + '__' + field.name,
638
+ root.__typename + ':' + root.__link + '__' + field.name,
639
639
  // Fetcher
640
640
  field.refetchReaderArtifact.resolver(environment, refetchQueryArtifact, data.data, filterVariables(Object.assign(Object.assign({}, args), variables), allowedVariables), root,
641
641
  // TODO these params should be removed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isograph/react",
3
- "version": "0.0.0-main-28a42bcf",
3
+ "version": "0.0.0-main-236932e6",
4
4
  "description": "Use Isograph with React",
5
5
  "homepage": "https://isograph.dev",
6
6
  "main": "dist/index.js",
@@ -20,9 +20,9 @@
20
20
  "iso-watch": "cross-env ../../target/debug/isograph_cli --config ./isograph.config.json --watch"
21
21
  },
22
22
  "dependencies": {
23
- "@isograph/disposable-types": "0.0.0-main-28a42bcf",
24
- "@isograph/react-disposable-state": "0.0.0-main-28a42bcf",
25
- "@isograph/reference-counted-pointer": "0.0.0-main-28a42bcf"
23
+ "@isograph/disposable-types": "0.0.0-main-236932e6",
24
+ "@isograph/react-disposable-state": "0.0.0-main-236932e6",
25
+ "@isograph/reference-counted-pointer": "0.0.0-main-236932e6"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": "^18.0.0 || ^19.0.0"
package/src/core/read.ts CHANGED
@@ -988,7 +988,7 @@ export function readImperativelyLoadedField(
988
988
  kind: 'Success',
989
989
  data: (args: any) => [
990
990
  // Stable id
991
- root.__link + '__' + field.name,
991
+ root.__typename + ':' + root.__link + '__' + field.name,
992
992
  // Fetcher
993
993
  field.refetchReaderArtifact.resolver(
994
994
  environment,