@graphql-tools/mock 9.1.0-alpha-20251029212630-2e1e9174e64ee2e732402c6589d4644058ae0a7c → 9.1.0-alpha-20251030140419-0b23985097eb7a73ed0e35c909eebd6dd349c4dc

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/cjs/MockStore.js CHANGED
@@ -200,6 +200,9 @@ class MockStore {
200
200
  throw new Error('When no `fieldName` is provided, `value` should be a record.');
201
201
  }
202
202
  for (const fieldName in value) {
203
+ if (fieldName === '$ref') {
204
+ continue;
205
+ }
203
206
  this.setImpl({
204
207
  typeName,
205
208
  key,
package/esm/MockStore.js CHANGED
@@ -195,6 +195,9 @@ export class MockStore {
195
195
  throw new Error('When no `fieldName` is provided, `value` should be a record.');
196
196
  }
197
197
  for (const fieldName in value) {
198
+ if (fieldName === '$ref') {
199
+ continue;
200
+ }
198
201
  this.setImpl({
199
202
  typeName,
200
203
  key,
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@graphql-tools/mock",
3
- "version": "9.1.0-alpha-20251029212630-2e1e9174e64ee2e732402c6589d4644058ae0a7c",
3
+ "version": "9.1.0-alpha-20251030140419-0b23985097eb7a73ed0e35c909eebd6dd349c4dc",
4
4
  "description": "A set of utils for faster development of GraphQL tools",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
7
7
  "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
8
8
  },
9
9
  "dependencies": {
10
- "@graphql-tools/schema": "10.0.26-alpha-20251029212630-2e1e9174e64ee2e732402c6589d4644058ae0a7c",
11
- "@graphql-tools/utils": "10.10.0-alpha-20251029212630-2e1e9174e64ee2e732402c6589d4644058ae0a7c",
10
+ "@graphql-tools/schema": "10.0.26-alpha-20251030140419-0b23985097eb7a73ed0e35c909eebd6dd349c4dc",
11
+ "@graphql-tools/utils": "10.10.0-alpha-20251030140419-0b23985097eb7a73ed0e35c909eebd6dd349c4dc",
12
12
  "fast-json-stable-stringify": "^2.1.0",
13
13
  "tslib": "^2.4.0"
14
14
  },