@graphql-tools/mock 8.6.9 → 8.6.10-alpha-effcdc7b.0

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.
Files changed (3) hide show
  1. package/index.js +6 -1
  2. package/index.mjs +6 -1
  3. package/package.json +2 -2
package/index.js CHANGED
@@ -805,7 +805,12 @@ function addMocksToSchema({ schema: schema$1, store: maybeStore, mocks, typePoli
805
805
  }
806
806
  },
807
807
  });
808
- return resolvers ? schema.addResolversToSchema(schemaWithMocks, resolvers) : schemaWithMocks;
808
+ return resolvers
809
+ ? schema.addResolversToSchema({
810
+ schema: schemaWithMocks,
811
+ resolvers: resolvers,
812
+ })
813
+ : schemaWithMocks;
809
814
  }
810
815
 
811
816
  /**
package/index.mjs CHANGED
@@ -799,7 +799,12 @@ function addMocksToSchema({ schema, store: maybeStore, mocks, typePolicies, reso
799
799
  }
800
800
  },
801
801
  });
802
- return resolvers ? addResolversToSchema(schemaWithMocks, resolvers) : schemaWithMocks;
802
+ return resolvers
803
+ ? addResolversToSchema({
804
+ schema: schemaWithMocks,
805
+ resolvers: resolvers,
806
+ })
807
+ : schemaWithMocks;
803
808
  }
804
809
 
805
810
  /**
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@graphql-tools/mock",
3
- "version": "8.6.9",
3
+ "version": "8.6.10-alpha-effcdc7b.0",
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"
8
8
  },
9
9
  "dependencies": {
10
- "@graphql-tools/schema": "8.3.11",
10
+ "@graphql-tools/schema": "9.0.0-alpha-effcdc7b.0",
11
11
  "@graphql-tools/utils": "8.6.10",
12
12
  "fast-json-stable-stringify": "^2.1.0",
13
13
  "tslib": "~2.4.0"