@graphql-tools/stitching-directives 3.1.13 → 3.1.14-alpha-c1f969d9556b274c8e1313a3d2a4742f231bc03a

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. package/CHANGELOG.md +929 -0
  2. package/dist/index.cjs +1196 -0
  3. package/dist/index.d.cts +58 -0
  4. package/dist/index.d.ts +58 -0
  5. package/dist/index.js +1193 -0
  6. package/package.json +32 -42
  7. package/cjs/defaultStitchingDirectiveOptions.js +0 -10
  8. package/cjs/extractVariables.js +0 -52
  9. package/cjs/federationToStitchingSDL.js +0 -116
  10. package/cjs/getSourcePaths.js +0 -25
  11. package/cjs/index.js +0 -6
  12. package/cjs/package.json +0 -1
  13. package/cjs/parseMergeArgsExpr.js +0 -77
  14. package/cjs/pathsFromSelectionSet.js +0 -29
  15. package/cjs/preparseMergeArgsExpr.js +0 -31
  16. package/cjs/properties.js +0 -70
  17. package/cjs/stitchingDirectives.js +0 -78
  18. package/cjs/stitchingDirectivesTransformer.js +0 -490
  19. package/cjs/stitchingDirectivesValidator.js +0 -119
  20. package/cjs/types.js +0 -0
  21. package/esm/defaultStitchingDirectiveOptions.js +0 -7
  22. package/esm/extractVariables.js +0 -48
  23. package/esm/federationToStitchingSDL.js +0 -112
  24. package/esm/getSourcePaths.js +0 -21
  25. package/esm/index.js +0 -3
  26. package/esm/parseMergeArgsExpr.js +0 -73
  27. package/esm/pathsFromSelectionSet.js +0 -25
  28. package/esm/preparseMergeArgsExpr.js +0 -27
  29. package/esm/properties.js +0 -63
  30. package/esm/stitchingDirectives.js +0 -74
  31. package/esm/stitchingDirectivesTransformer.js +0 -486
  32. package/esm/stitchingDirectivesValidator.js +0 -115
  33. package/esm/types.js +0 -0
  34. package/typings/defaultStitchingDirectiveOptions.d.cts +0 -2
  35. package/typings/defaultStitchingDirectiveOptions.d.ts +0 -2
  36. package/typings/extractVariables.d.cts +0 -7
  37. package/typings/extractVariables.d.ts +0 -7
  38. package/typings/federationToStitchingSDL.d.cts +0 -2
  39. package/typings/federationToStitchingSDL.d.ts +0 -2
  40. package/typings/getSourcePaths.d.cts +0 -3
  41. package/typings/getSourcePaths.d.ts +0 -3
  42. package/typings/index.d.cts +0 -3
  43. package/typings/index.d.ts +0 -3
  44. package/typings/parseMergeArgsExpr.d.cts +0 -3
  45. package/typings/parseMergeArgsExpr.d.ts +0 -3
  46. package/typings/pathsFromSelectionSet.d.cts +0 -2
  47. package/typings/pathsFromSelectionSet.d.ts +0 -2
  48. package/typings/preparseMergeArgsExpr.d.cts +0 -6
  49. package/typings/preparseMergeArgsExpr.d.ts +0 -6
  50. package/typings/properties.d.cts +0 -5
  51. package/typings/properties.d.ts +0 -5
  52. package/typings/stitchingDirectives.d.cts +0 -19
  53. package/typings/stitchingDirectives.d.ts +0 -19
  54. package/typings/stitchingDirectivesTransformer.d.cts +0 -3
  55. package/typings/stitchingDirectivesTransformer.d.ts +0 -3
  56. package/typings/stitchingDirectivesValidator.d.cts +0 -3
  57. package/typings/stitchingDirectivesValidator.d.ts +0 -3
  58. package/typings/types.d.cts +0 -35
  59. package/typings/types.d.ts +0 -35
package/CHANGELOG.md ADDED
@@ -0,0 +1,929 @@
1
+ # @graphql-tools/stitching-directives
2
+
3
+ ## 3.1.14-alpha-c1f969d9556b274c8e1313a3d2a4742f231bc03a
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`c1f969d`](https://github.com/graphql-hive/gateway/commit/c1f969d9556b274c8e1313a3d2a4742f231bc03a)]:
8
+ - @graphql-tools/delegate@10.1.3-alpha-c1f969d9556b274c8e1313a3d2a4742f231bc03a
9
+
10
+ ## 3.1.12
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+ [[`342e044`](https://github.com/ardatan/graphql-tools/commit/342e044c7da74aaf5df6a90ce68973c525c9aa10)]:
16
+ - @graphql-tools/delegate@10.1.1
17
+
18
+ ## 3.1.11
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies
23
+ [[`e9906eb`](https://github.com/ardatan/graphql-tools/commit/e9906eb311132ab902720e75bc787228d67c0e34)]:
24
+ - @graphql-tools/delegate@10.1.0
25
+
26
+ ## 3.1.10
27
+
28
+ ### Patch Changes
29
+
30
+ - Updated dependencies
31
+ [[`da1de08`](https://github.com/ardatan/graphql-tools/commit/da1de08c269a4cb3ed8240bf191833f7e75a6b01)]:
32
+ - @graphql-tools/delegate@10.0.29
33
+
34
+ ## 3.1.9
35
+
36
+ ### Patch Changes
37
+
38
+ - Updated dependencies
39
+ [[`f470f49`](https://github.com/ardatan/graphql-tools/commit/f470f49f7d8445801a2983f14532124588f9f59e)]:
40
+ - @graphql-tools/delegate@10.0.28
41
+
42
+ ## 3.1.8
43
+
44
+ ### Patch Changes
45
+
46
+ - Updated dependencies
47
+ [[`180f3f0`](https://github.com/ardatan/graphql-tools/commit/180f3f0c8362613eb3013ff12f2d5405cd987903)]:
48
+ - @graphql-tools/delegate@10.0.27
49
+
50
+ ## 3.1.7
51
+
52
+ ### Patch Changes
53
+
54
+ - Updated dependencies
55
+ [[`8effad4`](https://github.com/ardatan/graphql-tools/commit/8effad4ffb9be1bca098b8cb6ce41b84ac7d9b6b)]:
56
+ - @graphql-tools/delegate@10.0.26
57
+
58
+ ## 3.1.6
59
+
60
+ ### Patch Changes
61
+
62
+ - Updated dependencies
63
+ [[`8a16b01`](https://github.com/ardatan/graphql-tools/commit/8a16b01296457bdcfbb111e02b6f6569ef8b04aa)]:
64
+ - @graphql-tools/delegate@10.0.25
65
+
66
+ ## 3.1.5
67
+
68
+ ### Patch Changes
69
+
70
+ - Updated dependencies
71
+ [[`4cdb462`](https://github.com/ardatan/graphql-tools/commit/4cdb46248774f2d5ae2757d40e1d55e83d7413b3)]:
72
+ - @graphql-tools/delegate@10.0.24
73
+
74
+ ## 3.1.4
75
+
76
+ ### Patch Changes
77
+
78
+ - Updated dependencies
79
+ [[`7e2938d`](https://github.com/ardatan/graphql-tools/commit/7e2938d45c6d0a6eb6b18b89f9f80e9b5b5c08db)]:
80
+ - @graphql-tools/delegate@10.0.23
81
+
82
+ ## 3.1.3
83
+
84
+ ### Patch Changes
85
+
86
+ - Updated dependencies
87
+ [[`cf2ce5e`](https://github.com/ardatan/graphql-tools/commit/cf2ce5ed4773087cc324599f2812f4fb91398b21)]:
88
+ - @graphql-tools/utils@10.5.5
89
+ - @graphql-tools/delegate@10.0.22
90
+
91
+ ## 3.1.2
92
+
93
+ ### Patch Changes
94
+
95
+ - [`79faf07`](https://github.com/ardatan/graphql-tools/commit/79faf07df502c4bccf4979091390e231be57fd16)
96
+ Thanks [@ardatan](https://github.com/ardatan)! - Do not use \`entryPoints\` if there is only one
97
+
98
+ ## 3.1.1
99
+
100
+ ### Patch Changes
101
+
102
+ - [`6cf67c5`](https://github.com/ardatan/graphql-tools/commit/6cf67c5cc88b03408f52e789dbf54f573c811849)
103
+ Thanks [@ardatan](https://github.com/ardatan)! - Do not apply validation on transformation
104
+
105
+ ## 3.1.0
106
+
107
+ ### Minor Changes
108
+
109
+ - [`ca57eae`](https://github.com/ardatan/graphql-tools/commit/ca57eae4c9a2e4dabd7eba6c257cdde28ac66f39)
110
+ Thanks [@ardatan](https://github.com/ardatan)! - Support multiple entrypoints with
111
+ `@merge(keyField)`
112
+
113
+ ```graphql
114
+ type User {
115
+ id: ID!
116
+ name: String!
117
+ }
118
+
119
+ type Query {
120
+ userById(id: ID!): User @merge(keyField: "id")
121
+ userByName(name: String!): User @merge(keyField: "name")
122
+ }
123
+ ```
124
+
125
+ ## 3.0.2
126
+
127
+ ### Patch Changes
128
+
129
+ - [#5162](https://github.com/ardatan/graphql-tools/pull/5162)
130
+ [`27b6f49`](https://github.com/ardatan/graphql-tools/commit/27b6f49c67d4b3fca26d90dcaaef37ff61fe9d0a)
131
+ Thanks [@asodeur](https://github.com/asodeur)! - Adding the ability to return non-scalar types
132
+ from computed fields. Computed fields can now return object types (local or stitched), interfaces,
133
+ unions, or enums.
134
+
135
+ ## 3.0.1
136
+
137
+ ### Patch Changes
138
+
139
+ - [#5913](https://github.com/ardatan/graphql-tools/pull/5913)
140
+ [`83c0af0`](https://github.com/ardatan/graphql-tools/commit/83c0af0713ff2ce55ccfb97a1810ecfecfeab703)
141
+ Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
142
+ - Updated dependency
143
+ [`@graphql-tools/delegate@^10.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/delegate/v/10.0.3)
144
+ (from `^10.0.0`, in `dependencies`)
145
+ - Updated dependency
146
+ [`@graphql-tools/utils@^10.0.13` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.0.13)
147
+ (from `^10.0.0`, in `dependencies`)
148
+ - Updated dependencies
149
+ [[`83c0af0`](https://github.com/ardatan/graphql-tools/commit/83c0af0713ff2ce55ccfb97a1810ecfecfeab703),
150
+ [`83c0af0`](https://github.com/ardatan/graphql-tools/commit/83c0af0713ff2ce55ccfb97a1810ecfecfeab703)]:
151
+ - @graphql-tools/delegate@10.0.4
152
+
153
+ ## 3.0.0
154
+
155
+ ### Major Changes
156
+
157
+ - [#5274](https://github.com/ardatan/graphql-tools/pull/5274)
158
+ [`944a68e8`](https://github.com/ardatan/graphql-tools/commit/944a68e8becf9c86b4c97fd17c372d98a285b955)
159
+ Thanks [@ardatan](https://github.com/ardatan)! - Drop Node 14 support. Require Node.js `>= 16`
160
+
161
+ ### Patch Changes
162
+
163
+ - Updated dependencies
164
+ [[`8fba6cc1`](https://github.com/ardatan/graphql-tools/commit/8fba6cc1876e914d587f5b253332aaedbcaa65e6),
165
+ [`944a68e8`](https://github.com/ardatan/graphql-tools/commit/944a68e8becf9c86b4c97fd17c372d98a285b955),
166
+ [`944a68e8`](https://github.com/ardatan/graphql-tools/commit/944a68e8becf9c86b4c97fd17c372d98a285b955)]:
167
+ - @graphql-tools/delegate@10.0.0
168
+ - @graphql-tools/utils@10.0.0
169
+
170
+ ## 2.3.34
171
+
172
+ ### Patch Changes
173
+
174
+ - [`1c95368a`](https://github.com/ardatan/graphql-tools/commit/1c95368aea868be537d956ba5e994cde58dfee41)
175
+ Thanks [@ardatan](https://github.com/ardatan)! - Use ranged versions for dependencies
176
+
177
+ - Updated dependencies []:
178
+ - @graphql-tools/delegate@9.0.31
179
+
180
+ ## 2.3.33
181
+
182
+ ### Patch Changes
183
+
184
+ - Updated dependencies []:
185
+ - @graphql-tools/delegate@9.0.30
186
+
187
+ ## 2.3.32
188
+
189
+ ### Patch Changes
190
+
191
+ - Updated dependencies
192
+ [[`f26392a6`](https://github.com/ardatan/graphql-tools/commit/f26392a66299956da1e66253b181f85332c93db5)]:
193
+ - @graphql-tools/delegate@9.0.29
194
+
195
+ ## 2.3.31
196
+
197
+ ### Patch Changes
198
+
199
+ - Updated dependencies
200
+ [[`492220cb`](https://github.com/ardatan/graphql-tools/commit/492220cbdf240e7abde23af0aabcb8cbc6fd3656)]:
201
+ - @graphql-tools/delegate@9.0.28
202
+
203
+ ## 2.3.30
204
+
205
+ ### Patch Changes
206
+
207
+ - Updated dependencies
208
+ [[`30bd4d0c`](https://github.com/ardatan/graphql-tools/commit/30bd4d0c10f59147faba925dc0941c731b0532a9)]:
209
+ - @graphql-tools/delegate@9.0.27
210
+
211
+ ## 2.3.29
212
+
213
+ ### Patch Changes
214
+
215
+ - Updated dependencies
216
+ [[`b09ea282`](https://github.com/ardatan/graphql-tools/commit/b09ea282f0945fb19f354af57aabddcd23b2a155),
217
+ [`b5c8f640`](https://github.com/ardatan/graphql-tools/commit/b5c8f6407b74466ed0d2989000458cb59239e9af)]:
218
+ - @graphql-tools/delegate@9.0.26
219
+ - @graphql-tools/utils@9.2.1
220
+
221
+ ## 2.3.28
222
+
223
+ ### Patch Changes
224
+
225
+ - Updated dependencies
226
+ [[`a94217e9`](https://github.com/ardatan/graphql-tools/commit/a94217e920c5d6237471ab6ad4d96cf230984177),
227
+ [`62d074be`](https://github.com/ardatan/graphql-tools/commit/62d074be48779b1e096e056ca1233822c421dc99)]:
228
+ - @graphql-tools/utils@9.2.0
229
+ - @graphql-tools/delegate@9.0.25
230
+
231
+ ## 2.3.27
232
+
233
+ ### Patch Changes
234
+
235
+ - Updated dependencies
236
+ [[`772b948a`](https://github.com/ardatan/graphql-tools/commit/772b948ae536ac23520e704b33f450c94252f113)]:
237
+ - @graphql-tools/delegate@9.0.24
238
+
239
+ ## 2.3.26
240
+
241
+ ### Patch Changes
242
+
243
+ - Updated dependencies []:
244
+ - @graphql-tools/delegate@9.0.23
245
+
246
+ ## 2.3.25
247
+
248
+ ### Patch Changes
249
+
250
+ - Updated dependencies
251
+ [[`a4d36fcc`](https://github.com/ardatan/graphql-tools/commit/a4d36fccce6113843a55b77c96328727f4c748bc),
252
+ [`e3ec35ed`](https://github.com/ardatan/graphql-tools/commit/e3ec35ed27d4a329739c8da6be06ce74c8f25591)]:
253
+ - @graphql-tools/delegate@9.0.22
254
+ - @graphql-tools/utils@9.1.4
255
+
256
+ ## 2.3.24
257
+
258
+ ### Patch Changes
259
+
260
+ - Updated dependencies
261
+ [[`13177794`](https://github.com/ardatan/graphql-tools/commit/131777947d111e6a952d9e0e581fd651664101a1)]:
262
+ - @graphql-tools/delegate@9.0.21
263
+
264
+ ## 2.3.23
265
+
266
+ ### Patch Changes
267
+
268
+ - Updated dependencies
269
+ [[`eb6cd8b6`](https://github.com/ardatan/graphql-tools/commit/eb6cd8b65dc72434348c259538b233e57a58eb1a),
270
+ [`eb6cd8b6`](https://github.com/ardatan/graphql-tools/commit/eb6cd8b65dc72434348c259538b233e57a58eb1a)]:
271
+ - @graphql-tools/delegate@9.0.20
272
+
273
+ ## 2.3.22
274
+
275
+ ### Patch Changes
276
+
277
+ - Updated dependencies
278
+ [[`904fe770`](https://github.com/ardatan/graphql-tools/commit/904fe770a355ee3d79464c3bbf0375d2dcd64759),
279
+ [`904fe770`](https://github.com/ardatan/graphql-tools/commit/904fe770a355ee3d79464c3bbf0375d2dcd64759)]:
280
+ - @graphql-tools/utils@9.1.3
281
+ - @graphql-tools/delegate@9.0.19
282
+
283
+ ## 2.3.21
284
+
285
+ ### Patch Changes
286
+
287
+ - Updated dependencies
288
+ [[`13c24883`](https://github.com/ardatan/graphql-tools/commit/13c24883004d5330f7402cb20566e37535c5729b),
289
+ [`b5e6459f`](https://github.com/ardatan/graphql-tools/commit/b5e6459f87cd8720457ce9bff38f3dfa0cb3c150)]:
290
+ - @graphql-tools/delegate@9.0.18
291
+ - @graphql-tools/utils@9.1.2
292
+
293
+ ## 2.3.20
294
+
295
+ ### Patch Changes
296
+
297
+ - Updated dependencies
298
+ [[`7411a5e7`](https://github.com/ardatan/graphql-tools/commit/7411a5e71a8138d9ccfe907b1fb01e62fcbb0cdb)]:
299
+ - @graphql-tools/utils@9.1.1
300
+ - @graphql-tools/delegate@9.0.17
301
+
302
+ ## 2.3.19
303
+
304
+ ### Patch Changes
305
+
306
+ - Updated dependencies []:
307
+ - @graphql-tools/delegate@9.0.16
308
+
309
+ ## 2.3.18
310
+
311
+ ### Patch Changes
312
+
313
+ - Updated dependencies
314
+ [[`c0639dd0`](https://github.com/ardatan/graphql-tools/commit/c0639dd0065db1b5bcedaabf58b11945714bab8d)]:
315
+ - @graphql-tools/utils@9.1.0
316
+ - @graphql-tools/delegate@9.0.15
317
+
318
+ ## 2.3.17
319
+
320
+ ### Patch Changes
321
+
322
+ - Updated dependencies
323
+ [[`d83b1960`](https://github.com/ardatan/graphql-tools/commit/d83b19605be71481ccf8effd80d5254423ea811a)]:
324
+ - @graphql-tools/utils@9.0.1
325
+ - @graphql-tools/delegate@9.0.14
326
+
327
+ ## 2.3.16
328
+
329
+ ### Patch Changes
330
+
331
+ - Updated dependencies []:
332
+ - @graphql-tools/delegate@9.0.13
333
+
334
+ ## 2.3.15
335
+
336
+ ### Patch Changes
337
+
338
+ - Updated dependencies []:
339
+ - @graphql-tools/delegate@9.0.12
340
+
341
+ ## 2.3.14
342
+
343
+ ### Patch Changes
344
+
345
+ - Updated dependencies
346
+ [[`80836fa7`](https://github.com/ardatan/graphql-tools/commit/80836fa78af3c6e61c61fe4d3bc52831b2c58931),
347
+ [`8f6d3efc`](https://github.com/ardatan/graphql-tools/commit/8f6d3efc92b25236f5a3a761ea7ba2f0a7c7f550),
348
+ [`80836fa7`](https://github.com/ardatan/graphql-tools/commit/80836fa78af3c6e61c61fe4d3bc52831b2c58931),
349
+ [`80836fa7`](https://github.com/ardatan/graphql-tools/commit/80836fa78af3c6e61c61fe4d3bc52831b2c58931),
350
+ [`80836fa7`](https://github.com/ardatan/graphql-tools/commit/80836fa78af3c6e61c61fe4d3bc52831b2c58931)]:
351
+ - @graphql-tools/utils@9.0.0
352
+ - @graphql-tools/delegate@9.0.11
353
+
354
+ ## 2.3.13
355
+
356
+ ### Patch Changes
357
+
358
+ - Updated dependencies
359
+ [[`f7daf777`](https://github.com/ardatan/graphql-tools/commit/f7daf7777cc214801886e4a45c0389bc5837d175)]:
360
+ - @graphql-tools/utils@8.13.1
361
+ - @graphql-tools/delegate@9.0.10
362
+
363
+ ## 2.3.12
364
+
365
+ ### Patch Changes
366
+
367
+ - Updated dependencies
368
+ [[`df5848b8`](https://github.com/ardatan/graphql-tools/commit/df5848b85102827f004f23aded7cf802cdcde00f),
369
+ [`df5848b8`](https://github.com/ardatan/graphql-tools/commit/df5848b85102827f004f23aded7cf802cdcde00f),
370
+ [`df5848b8`](https://github.com/ardatan/graphql-tools/commit/df5848b85102827f004f23aded7cf802cdcde00f),
371
+ [`df5848b8`](https://github.com/ardatan/graphql-tools/commit/df5848b85102827f004f23aded7cf802cdcde00f)]:
372
+ - @graphql-tools/delegate@9.0.9
373
+ - @graphql-tools/utils@8.13.0
374
+
375
+ ## 2.3.11
376
+
377
+ ### Patch Changes
378
+
379
+ - Updated dependencies
380
+ [[`0402894d`](https://github.com/ardatan/graphql-tools/commit/0402894d0b2747ae5d98d28df9b39d6a06cc5f2a)]:
381
+ - @graphql-tools/delegate@9.0.8
382
+
383
+ ## 2.3.10
384
+
385
+ ### Patch Changes
386
+
387
+ - Updated dependencies
388
+ [[`00c4a1a4`](https://github.com/ardatan/graphql-tools/commit/00c4a1a44e14b9950f44d56f44967ab7a0121706)]:
389
+ - @graphql-tools/delegate@9.0.7
390
+
391
+ ## 2.3.9
392
+
393
+ ### Patch Changes
394
+
395
+ - Updated dependencies
396
+ [[`43c736bd`](https://github.com/ardatan/graphql-tools/commit/43c736bd1865c00898966a7ed14060496c9e6a0c)]:
397
+ - @graphql-tools/utils@8.12.0
398
+ - @graphql-tools/delegate@9.0.6
399
+
400
+ ## 2.3.8
401
+
402
+ ### Patch Changes
403
+
404
+ - Updated dependencies
405
+ [[`71cb4fae`](https://github.com/ardatan/graphql-tools/commit/71cb4faeb0833a228520a7bc2beed8ac7274443f),
406
+ [`403ed450`](https://github.com/ardatan/graphql-tools/commit/403ed4507eff7cd509f410f7542a702da72e1a9a)]:
407
+ - @graphql-tools/utils@8.11.0
408
+ - @graphql-tools/delegate@9.0.5
409
+
410
+ ## 2.3.7
411
+
412
+ ### Patch Changes
413
+
414
+ - Updated dependencies
415
+ [[`4fe3d9c0`](https://github.com/ardatan/graphql-tools/commit/4fe3d9c037e9c138bd8a9b04b3977d74eba32c97)]:
416
+ - @graphql-tools/utils@8.10.1
417
+ - @graphql-tools/delegate@9.0.4
418
+
419
+ ## 2.3.6
420
+
421
+ ### Patch Changes
422
+
423
+ - [#4640](https://github.com/ardatan/graphql-tools/pull/4640)
424
+ [`27bdc237`](https://github.com/ardatan/graphql-tools/commit/27bdc23713a5176485ac940fc5431256b4f2de8d)
425
+ Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
426
+
427
+ - Updated dependency
428
+ [`@graphql-tools/delegate@9.0.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/delegate/v/9.0.3)
429
+ (was `9.0.2`, in `dependencies`)
430
+
431
+ ## 2.3.5
432
+
433
+ ### Patch Changes
434
+
435
+ - Updated dependencies
436
+ [[`0555a972`](https://github.com/ardatan/graphql-tools/commit/0555a972f010d2b3ca93b9164b26474a78d0b20b)]:
437
+ - @graphql-tools/delegate@9.0.3
438
+
439
+ ## 2.3.4
440
+
441
+ ### Patch Changes
442
+
443
+ - Updated dependencies
444
+ [[`29ee7542`](https://github.com/ardatan/graphql-tools/commit/29ee7542649e9c938bdb9c751bd3a2f56d17cb55)]:
445
+ - @graphql-tools/delegate@9.0.2
446
+
447
+ ## 2.3.3
448
+
449
+ ### Patch Changes
450
+
451
+ - Updated dependencies
452
+ [[`2609d71f`](https://github.com/ardatan/graphql-tools/commit/2609d71f7c3a0ef2b381c51d9ce60b0de49f9b27)]:
453
+ - @graphql-tools/utils@8.10.0
454
+ - @graphql-tools/delegate@9.0.1
455
+
456
+ ## 2.3.2
457
+
458
+ ### Patch Changes
459
+
460
+ - [#4624](https://github.com/ardatan/graphql-tools/pull/4624)
461
+ [`e3167edc`](https://github.com/ardatan/graphql-tools/commit/e3167edc98172fda88ce2306c10c7d4a23d91d67)
462
+ Thanks [@n1ru4l](https://github.com/n1ru4l)! - Fix CommonJS TypeScript resolution with
463
+ `moduleResolution` `node16` or `nodenext`
464
+
465
+ - Updated dependencies
466
+ [[`e3167edc`](https://github.com/ardatan/graphql-tools/commit/e3167edc98172fda88ce2306c10c7d4a23d91d67),
467
+ [`d8dc67aa`](https://github.com/ardatan/graphql-tools/commit/d8dc67aa6cb05bf10f5f16e90690e5ccc87b3426)]:
468
+ - @graphql-tools/delegate@9.0.0
469
+ - @graphql-tools/utils@8.9.1
470
+
471
+ ## 2.3.1
472
+
473
+ ### Patch Changes
474
+
475
+ - Updated dependencies [2a3b45e3]
476
+ - @graphql-tools/utils@8.9.0
477
+ - @graphql-tools/delegate@8.8.1
478
+
479
+ ## 2.3.0
480
+
481
+ ### Minor Changes
482
+
483
+ - d76a299c: Support TypeScript module resolution.
484
+
485
+ ### Patch Changes
486
+
487
+ - Updated dependencies [a0abbbcd]
488
+ - Updated dependencies [d76a299c]
489
+ - @graphql-tools/utils@8.8.0
490
+ - @graphql-tools/delegate@8.8.0
491
+
492
+ ## 2.2.19
493
+
494
+ ### Patch Changes
495
+
496
+ - Updated dependencies [6df204de]
497
+ - Updated dependencies [4914970b]
498
+ - @graphql-tools/delegate@8.7.12
499
+ - @graphql-tools/utils@8.7.0
500
+
501
+ ## 2.2.18
502
+
503
+ ### Patch Changes
504
+
505
+ - 041c5ba1: Use caret range for the tslib dependency
506
+ - Updated dependencies [041c5ba1]
507
+ - @graphql-tools/delegate@8.7.11
508
+ - @graphql-tools/utils@8.6.13
509
+
510
+ ## 2.2.17
511
+
512
+ ### Patch Changes
513
+
514
+ - Updated dependencies [da7ad43b]
515
+ - @graphql-tools/utils@8.6.12
516
+ - @graphql-tools/delegate@8.7.10
517
+
518
+ ## 2.2.16
519
+
520
+ ### Patch Changes
521
+
522
+ - Updated dependencies [c0762ee3]
523
+ - @graphql-tools/utils@8.6.11
524
+ - @graphql-tools/delegate@8.7.9
525
+
526
+ ## 2.2.15
527
+
528
+ ### Patch Changes
529
+
530
+ - Updated dependencies [0fc510cb]
531
+ - @graphql-tools/utils@8.6.10
532
+ - @graphql-tools/delegate@8.7.8
533
+
534
+ ## 2.2.14
535
+
536
+ ### Patch Changes
537
+
538
+ - Updated dependencies [31a33e2b]
539
+ - @graphql-tools/utils@8.6.9
540
+ - @graphql-tools/delegate@8.7.7
541
+
542
+ ## 2.2.13
543
+
544
+ ### Patch Changes
545
+
546
+ - Updated dependencies [26e4b464]
547
+ - @graphql-tools/delegate@8.7.6
548
+
549
+ ## 2.2.12
550
+
551
+ ### Patch Changes
552
+
553
+ - Updated dependencies [cb238877]
554
+ - @graphql-tools/utils@8.6.8
555
+ - @graphql-tools/delegate@8.7.5
556
+
557
+ ## 2.2.11
558
+
559
+ ### Patch Changes
560
+
561
+ - Updated dependencies [0bbb1769]
562
+ - @graphql-tools/delegate@8.7.4
563
+ - @graphql-tools/utils@8.6.7
564
+
565
+ ## 2.2.10
566
+
567
+ ### Patch Changes
568
+
569
+ - Updated dependencies [fe9402af]
570
+ - @graphql-tools/delegate@8.7.3
571
+
572
+ ## 2.2.9
573
+
574
+ ### Patch Changes
575
+
576
+ - Updated dependencies [904c0847]
577
+ - @graphql-tools/utils@8.6.6
578
+ - @graphql-tools/delegate@8.7.2
579
+
580
+ ## 2.2.8
581
+
582
+ ### Patch Changes
583
+
584
+ - @graphql-tools/delegate@8.7.1
585
+
586
+ ## 2.2.7
587
+
588
+ ### Patch Changes
589
+
590
+ - Updated dependencies [d8fd6b94]
591
+ - @graphql-tools/delegate@8.7.0
592
+
593
+ ## 2.2.6
594
+
595
+ ### Patch Changes
596
+
597
+ - Updated dependencies [be2c02d7]
598
+ - @graphql-tools/utils@8.6.5
599
+ - @graphql-tools/delegate@8.6.1
600
+
601
+ ## 2.2.5
602
+
603
+ ### Patch Changes
604
+
605
+ - Updated dependencies [c40e801f]
606
+ - Updated dependencies [d36d530b]
607
+ - @graphql-tools/delegate@8.6.0
608
+ - @graphql-tools/utils@8.6.4
609
+
610
+ ## 2.2.4
611
+
612
+ ### Patch Changes
613
+
614
+ - 0c0c6857: fix - align versions
615
+ - Updated dependencies [0c0c6857]
616
+ - @graphql-tools/delegate@8.5.4
617
+
618
+ ## 2.2.3
619
+
620
+ ### Patch Changes
621
+
622
+ - 3da3d66c: fix - align versions
623
+ - Updated dependencies [3da3d66c]
624
+ - @graphql-tools/utils@8.6.3
625
+
626
+ ## 2.2.2
627
+
628
+ ### Patch Changes
629
+
630
+ - 18341363: feat(visitResult): ignore if field not present in visited object
631
+ - Updated dependencies [18341363]
632
+ - @graphql-tools/delegate@8.5.1
633
+ - @graphql-tools/utils@8.6.2
634
+
635
+ ## 2.2.1
636
+
637
+ ### Patch Changes
638
+
639
+ - 4bfb3428: enhance: use ^ for tslib dependency
640
+ - Updated dependencies [4bfb3428]
641
+ - @graphql-tools/delegate@8.4.1
642
+ - @graphql-tools/utils@8.5.1
643
+
644
+ ## 2.2.0
645
+
646
+ ### Minor Changes
647
+
648
+ - 149afddb: fix: getting ready for GraphQL v16
649
+
650
+ ### Patch Changes
651
+
652
+ - Updated dependencies [149afddb]
653
+ - @graphql-tools/delegate@8.3.0
654
+ - @graphql-tools/utils@8.4.0
655
+
656
+ ## 2.1.1
657
+
658
+ ### Patch Changes
659
+
660
+ - 320122ba: fix(stitching-directives): export correct typings
661
+
662
+ ## 2.1.0
663
+
664
+ ### Minor Changes
665
+
666
+ - c5b0719c: feat: GraphQL v16 support
667
+
668
+ ### Patch Changes
669
+
670
+ - Updated dependencies [c5b0719c]
671
+ - Updated dependencies [c5b0719c]
672
+ - Updated dependencies [c5b0719c]
673
+ - Updated dependencies [c5b0719c]
674
+ - Updated dependencies [c5b0719c]
675
+ - @graphql-tools/delegate@8.2.0
676
+ - @graphql-tools/utils@8.2.0
677
+
678
+ ## 2.0.11
679
+
680
+ ### Patch Changes
681
+
682
+ - e50852e6: use version ranges instead of a fixed version for the graphql-tools package versions
683
+ - Updated dependencies [631b11bd]
684
+ - Updated dependencies [e50852e6]
685
+ - @graphql-tools/delegate@8.1.0
686
+
687
+ ## 2.0.10
688
+
689
+ ### Patch Changes
690
+
691
+ - Updated dependencies [2c807ddb]
692
+ - @graphql-tools/utils@8.1.1
693
+ - @graphql-tools/delegate@8.0.10
694
+
695
+ ## 2.0.9
696
+
697
+ ### Patch Changes
698
+
699
+ - Updated dependencies [9a13357c]
700
+ - @graphql-tools/delegate@8.0.9
701
+
702
+ ## 2.0.8
703
+
704
+ ### Patch Changes
705
+
706
+ - Updated dependencies [b9684631]
707
+ - Updated dependencies [9ede806a]
708
+ - Updated dependencies [67691b78]
709
+ - @graphql-tools/utils@8.1.0
710
+ - @graphql-tools/delegate@8.0.8
711
+
712
+ ## 2.0.7
713
+
714
+ ### Patch Changes
715
+
716
+ - Updated dependencies [d47dcf42]
717
+ - @graphql-tools/delegate@8.0.7
718
+
719
+ ## 2.0.6
720
+
721
+ ### Patch Changes
722
+
723
+ - Updated dependencies [ded29f3d]
724
+ - @graphql-tools/delegate@8.0.6
725
+
726
+ ## 2.0.5
727
+
728
+ ### Patch Changes
729
+
730
+ - Updated dependencies [7fdef335]
731
+ - @graphql-tools/delegate@8.0.5
732
+
733
+ ## 2.0.4
734
+
735
+ ### Patch Changes
736
+
737
+ - Updated dependencies [04830049]
738
+ - @graphql-tools/utils@8.0.2
739
+ - @graphql-tools/delegate@8.0.4
740
+
741
+ ## 2.0.3
742
+
743
+ ### Patch Changes
744
+
745
+ - Updated dependencies [b823dbaf]
746
+ - @graphql-tools/utils@8.0.1
747
+ - @graphql-tools/delegate@8.0.3
748
+
749
+ ## 2.0.2
750
+
751
+ ### Patch Changes
752
+
753
+ - Updated dependencies [d93945fa]
754
+ - @graphql-tools/delegate@8.0.2
755
+
756
+ ## 2.0.1
757
+
758
+ ### Patch Changes
759
+
760
+ - c36defbe: fix(delegate): fix ESM import
761
+ - Updated dependencies [c36defbe]
762
+ - @graphql-tools/delegate@8.0.1
763
+
764
+ ## 2.0.0
765
+
766
+ ### Major Changes
767
+
768
+ - 74581cf3: fix(getDirectives): preserve order around repeatable directives
769
+
770
+ BREAKING CHANGE: getDirectives now always return an array of individual DirectiveAnnotation
771
+ objects consisting of `name` and `args` properties.
772
+
773
+ New useful function `getDirective` returns an array of objects representing any args for each use
774
+ of a single directive (returning the empty object `{}` when a directive is used without
775
+ arguments).
776
+
777
+ Note: The `getDirective` function returns an array even when the specified directive is
778
+ non-repeatable. This is because one use of this function is to throw an error if more than one
779
+ directive annotation is used for a non repeatable directive!
780
+
781
+ When specifying directives in extensions, one can use either the old or new format.
782
+
783
+ ### Minor Changes
784
+
785
+ - 70cd65eb: feat(stitching-directives): move federation-to-stitching-sdl
786
+
787
+ ### Patch Changes
788
+
789
+ - Updated dependencies [af9a78de]
790
+ - Updated dependencies [7d3e3006]
791
+ - Updated dependencies [9c26b847]
792
+ - Updated dependencies [7d3e3006]
793
+ - Updated dependencies [d53e3be5]
794
+ - Updated dependencies [7d3e3006]
795
+ - Updated dependencies [dae6dc7b]
796
+ - Updated dependencies [6877b913]
797
+ - Updated dependencies [c42e811d]
798
+ - Updated dependencies [7d3e3006]
799
+ - Updated dependencies [8c8d4fc0]
800
+ - Updated dependencies [7d3e3006]
801
+ - Updated dependencies [aa43054d]
802
+ - Updated dependencies [7d3e3006]
803
+ - Updated dependencies [74581cf3]
804
+ - Updated dependencies [c0ca3190]
805
+ - Updated dependencies [982c8f53]
806
+ - Updated dependencies [7d3e3006]
807
+ - Updated dependencies [7d3e3006]
808
+ - @graphql-tools/utils@8.0.0
809
+ - @graphql-tools/delegate@8.0.0
810
+
811
+ ## 1.3.3
812
+
813
+ ### Patch Changes
814
+
815
+ - 5f5436fc: Fix stitching-directives to allow using 'argsExpr' with multiple arguments
816
+
817
+ ## 1.3.2
818
+
819
+ ### Patch Changes
820
+
821
+ - 2c4db53d: fix(stitching-directives): allow selectionSets to include variably nested lists
822
+
823
+ ## 1.3.1
824
+
825
+ ### Patch Changes
826
+
827
+ - d7b4e09e: fix(stitching-directives): to allow keys to include lists
828
+
829
+ ## 1.3.0
830
+
831
+ ### Minor Changes
832
+
833
+ - 24926654: Deprecates the `MergeTypeConfig.computedFields` setting (with backwards-compatible
834
+ warning) in favor of new computed field configuration written as:
835
+
836
+ ```js
837
+ merge: {
838
+ MyType: {
839
+ fields: {
840
+ myComputedField: {
841
+ selectionSet: '{ weight }',
842
+ computed: true,
843
+ }
844
+ }
845
+ }
846
+ }
847
+ ```
848
+
849
+ A field-level `selectionSet` specifies field dependencies while the `computed` setting structures
850
+ the field in a way that assures it is always selected with this data provided. The `selectionSet`
851
+ is intentionally generic to support possible future uses. This new pattern organizes all
852
+ field-level configuration (including `canonical`) into a single structure.
853
+
854
+ ### Patch Changes
855
+
856
+ - Updated dependencies [24926654]
857
+ - @graphql-tools/delegate@7.0.10
858
+
859
+ ## 1.2.0
860
+
861
+ ### Minor Changes
862
+
863
+ - d9b82a2e: enhance(stitch) canonical merged type and field definitions. Use the @canonical
864
+ directive to promote preferred type and field descriptions into the combined gateway schema.
865
+
866
+ ### Patch Changes
867
+
868
+ - Updated dependencies [d9b82a2e]
869
+ - Updated dependencies [d9b82a2e]
870
+ - @graphql-tools/delegate@7.0.9
871
+
872
+ ## 1.1.2
873
+
874
+ ### Patch Changes
875
+
876
+ - 6e50d9fc: enhance(stitching-directives): use keyField
877
+
878
+ When using simple keys, i.e. when using the keyField argument to `@merge`, the keyField can be
879
+ added implicitly to the types's key. In most cases, therefore, `@key` should not be required at
880
+ all.
881
+
882
+ - Updated dependencies [6e50d9fc]
883
+ - @graphql-tools/utils@7.2.4
884
+
885
+ ## 1.1.1
886
+
887
+ ### Patch Changes
888
+
889
+ - 394c4775: fix(stitching-directives): fix abstract types
890
+
891
+ ## 1.1.0
892
+
893
+ ### Minor Changes
894
+
895
+ - c3996f60: enhance(utils): support code-first schemas by allowing directives to be read from
896
+ extensions
897
+
898
+ ### Patch Changes
899
+
900
+ - c3996f60: fix(stitchingDirectives): complete support for code first schemas
901
+ - c3996f60: fix(stitchingDirectives): fix name clash
902
+
903
+ export all stitching directives as `allDirectives` instead of
904
+ `stitchingDirectives as the main package function is`stitchingDirectives`
905
+
906
+ - Updated dependencies [c3996f60]
907
+ - Updated dependencies [c3996f60]
908
+ - Updated dependencies [c3996f60]
909
+ - Updated dependencies [c3996f60]
910
+ - @graphql-tools/utils@7.2.0
911
+
912
+ ## 1.0.0
913
+
914
+ ### Major Changes
915
+
916
+ - 21da6904: fix release
917
+
918
+ ### Patch Changes
919
+
920
+ - Updated dependencies [21da6904]
921
+ - @graphql-tools/utils@7.1.2
922
+
923
+ ## 0.0.1
924
+
925
+ ### Patch Changes
926
+
927
+ - b48a91b1: add ability to specify merge config within subschemas using directives
928
+ - Updated dependencies [b48a91b1]
929
+ - @graphql-tools/utils@7.1.1