@graphql-tools/delegate 10.2.12 → 10.2.13-alpha-6c8cb8e28bb15ca1e14c57891035965c86977404

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,5 +1,11 @@
1
1
  # @graphql-tools/delegate
2
2
 
3
+ ## 10.2.13-alpha-6c8cb8e28bb15ca1e14c57891035965c86977404
4
+
5
+ ### Patch Changes
6
+
7
+ - [#662](https://github.com/graphql-hive/gateway/pull/662) [`6c8cb8e`](https://github.com/graphql-hive/gateway/commit/6c8cb8e28bb15ca1e14c57891035965c86977404) Thanks [@ardatan](https://github.com/ardatan)! - When a field with `@skip` and `@include` directives in a selection set throws, show the correct error
8
+
3
9
  ## 10.2.12
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -138,8 +138,8 @@ function handleResolverResult(resolverResult, subschema, selectionSet, object, c
138
138
  const type = schema.getType(object.__typename);
139
139
  const { fields } = utils.collectFields(
140
140
  schema,
141
- EMPTY_OBJECT,
142
- EMPTY_OBJECT,
141
+ info.fragments,
142
+ info.variableValues,
143
143
  type,
144
144
  selectionSet
145
145
  );
package/dist/index.js CHANGED
@@ -138,8 +138,8 @@ function handleResolverResult(resolverResult, subschema, selectionSet, object, c
138
138
  const type = schema.getType(object.__typename);
139
139
  const { fields } = collectFields(
140
140
  schema,
141
- EMPTY_OBJECT,
142
- EMPTY_OBJECT,
141
+ info.fragments,
142
+ info.variableValues,
143
143
  type,
144
144
  selectionSet
145
145
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-tools/delegate",
3
- "version": "10.2.12",
3
+ "version": "10.2.13-alpha-6c8cb8e28bb15ca1e14c57891035965c86977404",
4
4
  "type": "module",
5
5
  "description": "A set of utils for faster development of GraphQL tools",
6
6
  "repository": {