@graphql-tools/delegate 8.0.5-alpha-3db9bdad.0 → 8.0.7

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/es5/index.js CHANGED
@@ -944,13 +944,15 @@ var filteredSelectionSetVisitorKeys = {
944
944
  };
945
945
  var variablesVisitorKeys = {
946
946
  SelectionSet: ['selections'],
947
- Field: ['arguments', 'selectionSet'],
947
+ Field: ['arguments', 'directives', 'selectionSet'],
948
948
  Argument: ['value'],
949
- FragmentSpread: [],
950
- InlineFragment: ['selectionSet'],
949
+ InlineFragment: ['directives', 'selectionSet'],
950
+ FragmentSpread: ['directives'],
951
951
  FragmentDefinition: ['selectionSet'],
952
952
  ObjectValue: ['fields'],
953
953
  ObjectField: ['name', 'value'],
954
+ Directive: ['arguments'],
955
+ ListValue: ['values'],
954
956
  };
955
957
  function finalizeSelectionSet(schema, type, validFragments, selectionSet) {
956
958
  var _a, _b;
package/es5/index.mjs CHANGED
@@ -940,13 +940,15 @@ var filteredSelectionSetVisitorKeys = {
940
940
  };
941
941
  var variablesVisitorKeys = {
942
942
  SelectionSet: ['selections'],
943
- Field: ['arguments', 'selectionSet'],
943
+ Field: ['arguments', 'directives', 'selectionSet'],
944
944
  Argument: ['value'],
945
- FragmentSpread: [],
946
- InlineFragment: ['selectionSet'],
945
+ InlineFragment: ['directives', 'selectionSet'],
946
+ FragmentSpread: ['directives'],
947
947
  FragmentDefinition: ['selectionSet'],
948
948
  ObjectValue: ['fields'],
949
949
  ObjectField: ['name', 'value'],
950
+ Directive: ['arguments'],
951
+ ListValue: ['values'],
950
952
  };
951
953
  function finalizeSelectionSet(schema, type, validFragments, selectionSet) {
952
954
  var _a, _b;
package/es5/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-tools/delegate/es5",
3
- "version": "8.0.5-alpha-3db9bdad.0",
3
+ "version": "8.0.7",
4
4
  "description": "A set of utils for faster development of GraphQL tools",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
package/index.js CHANGED
@@ -769,13 +769,15 @@ const filteredSelectionSetVisitorKeys = {
769
769
  };
770
770
  const variablesVisitorKeys = {
771
771
  SelectionSet: ['selections'],
772
- Field: ['arguments', 'selectionSet'],
772
+ Field: ['arguments', 'directives', 'selectionSet'],
773
773
  Argument: ['value'],
774
- FragmentSpread: [],
775
- InlineFragment: ['selectionSet'],
774
+ InlineFragment: ['directives', 'selectionSet'],
775
+ FragmentSpread: ['directives'],
776
776
  FragmentDefinition: ['selectionSet'],
777
777
  ObjectValue: ['fields'],
778
778
  ObjectField: ['name', 'value'],
779
+ Directive: ['arguments'],
780
+ ListValue: ['values'],
779
781
  };
780
782
  function finalizeSelectionSet(schema, type, validFragments, selectionSet) {
781
783
  const usedFragments = [];
package/index.mjs CHANGED
@@ -765,13 +765,15 @@ const filteredSelectionSetVisitorKeys = {
765
765
  };
766
766
  const variablesVisitorKeys = {
767
767
  SelectionSet: ['selections'],
768
- Field: ['arguments', 'selectionSet'],
768
+ Field: ['arguments', 'directives', 'selectionSet'],
769
769
  Argument: ['value'],
770
- FragmentSpread: [],
771
- InlineFragment: ['selectionSet'],
770
+ InlineFragment: ['directives', 'selectionSet'],
771
+ FragmentSpread: ['directives'],
772
772
  FragmentDefinition: ['selectionSet'],
773
773
  ObjectValue: ['fields'],
774
774
  ObjectField: ['name', 'value'],
775
+ Directive: ['arguments'],
776
+ ListValue: ['values'],
775
777
  };
776
778
  function finalizeSelectionSet(schema, type, validFragments, selectionSet) {
777
779
  const usedFragments = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-tools/delegate",
3
- "version": "8.0.5-alpha-3db9bdad.0",
3
+ "version": "8.0.7",
4
4
  "description": "A set of utils for faster development of GraphQL tools",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {