Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ardatan/graphql-tools
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @graphql-tools/load-files@6.4.0
Choose a base ref
...
head repository: ardatan/graphql-tools
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: @graphql-tools/load-files@6.5.0
Choose a head ref

Commits on Aug 31, 2021

  1. 1
    Copy the full SHA
    be6fdb8 View commit details
  2. Copy the full SHA
    50609df View commit details
  3. chore(release): update monorepo packages versions (#3462)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Aug 31, 2021
    Copy the full SHA
    63382a9 View commit details
  4. chore(deps): update dependency @types/node to v14.17.13 (#3463)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Aug 31, 2021
    1
    Copy the full SHA
    f6c9cb3 View commit details
  5. fix(deps): update dependency react-use to v17.3.1 (#3465)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Aug 31, 2021
    1
    Copy the full SHA
    0ba97ec View commit details

Commits on Sep 1, 2021

  1. Copy the full SHA
    7cbbdfc View commit details
  2. 1
    Copy the full SHA
    b2f18d6 View commit details
  3. chore(deps): update dependency @types/node to v14.17.14 (#3466)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 1, 2021
    1
    Copy the full SHA
    0e37a5a View commit details
  4. chore(deps): update dependency @vue/compiler-sfc to v3.2.7 (#3472)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 1, 2021
    1
    Copy the full SHA
    76329e1 View commit details

Commits on Sep 2, 2021

  1. test: check if key field _id is resolved correctly (#3474)

    * test: check if key field _id is resolved correctly
    
    * fix(mock): fix handling _id field name
    
    Co-authored-by: Leonas-Komaras <leonas.koomaras@lt.ibm.com>
    Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
    3 people authored Sep 2, 2021
    1
    Copy the full SHA
    491e961 View commit details
  2. fix(deps): update dependency shiki to v0.9.10 (#3473)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 2, 2021
    Copy the full SHA
    d733c8e View commit details
  3. fix(deps): update dependency relay-compiler to v12 (#3471)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 2, 2021
    1
    Copy the full SHA
    d71d838 View commit details
  4. chore(deps): update dependency esbuild to v0.12.25 (#3475)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 2, 2021
    1
    Copy the full SHA
    7fd76c8 View commit details
  5. fix(deps): update dependency @guild-docs/client to v1.0.4 (#3476)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 2, 2021
    1
    Copy the full SHA
    ff26c0e View commit details
  6. chore(deps): update dependency @vue/compiler-sfc to v3.2.8 (#3478)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 2, 2021
    1
    Copy the full SHA
    b0816bd View commit details
  7. fix(deps): update dependency @guild-docs/server to v1.0.2 (#3477)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 2, 2021
    1
    Copy the full SHA
    4b590cd View commit details

Commits on Sep 3, 2021

  1. chore(deps): update babel monorepo to v7.15.4 (#3480)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 3, 2021
    1
    Copy the full SHA
    84b34c0 View commit details
  2. chore(release): update monorepo packages versions (#3467)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Sep 3, 2021
    1
    Copy the full SHA
    fbecf62 View commit details
  3. fix(commentDescriptions): handle descriptions and comments correctly …

    …during merge (#3469)
    
    * Add tests demonstrating issue mergingTypeDefs with comments
    
    * fix(commentDescriptions): handle descriptions and comments correctly during merge
    
    Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
    dac09 and ardatan authored Sep 3, 2021
    1
    Copy the full SHA
    d4918a7 View commit details
  4. chore(release): update monorepo packages versions (#3483)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Sep 3, 2021
    1
    Copy the full SHA
    a4039a7 View commit details
  5. fix(deps): update dependency @guild-docs/server to v1.0.3 (#3484)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 3, 2021
    1
    Copy the full SHA
    a262d0b View commit details
  6. fix(deps): update apollo graphql packages (#3485)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 3, 2021
    1
    Copy the full SHA
    9b2d14b View commit details

Commits on Sep 4, 2021

  1. chore(deps): update babel monorepo to v7.15.5 (#3486)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 4, 2021
    1
    Copy the full SHA
    ac08b04 View commit details

Commits on Sep 5, 2021

  1. fix(deps): update dependency next-i18next to v8.7.0 (#3487)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 5, 2021
    1
    Copy the full SHA
    b2b0ace View commit details
  2. chore(deps): update dependency @types/react to v17.0.20 (#3488)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 5, 2021
    1
    Copy the full SHA
    75838de View commit details
  3. chore(deps): update dependency @vue/compiler-sfc to v3.2.9 (#3490)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 5, 2021
    1
    Copy the full SHA
    9288950 View commit details

Commits on Sep 6, 2021

  1. chore(deps): update dependency graphql to v15.5.3 (#3492)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 6, 2021
    1
    Copy the full SHA
    79c6d19 View commit details
  2. chore(deps): update dependency graphql-scalars to v1.10.1 (#3493)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 6, 2021
    1
    Copy the full SHA
    86cbb07 View commit details
  3. chore(deps): update typescript-eslint monorepo to v4.31.0 (#3494)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 6, 2021
    1
    Copy the full SHA
    e33149f View commit details
  4. fix(deps): update dependency @guild-docs/client to v1.0.5 (#3495)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 6, 2021
    1
    Copy the full SHA
    3454298 View commit details
  5. fix(deps): update dependency @guild-docs/server to v1.0.4 (#3496)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 6, 2021
    1
    Copy the full SHA
    e2fb12a View commit details

Commits on Sep 7, 2021

  1. 1
    Copy the full SHA
    5225cc7 View commit details
  2. Try to reproduce codegen query_root issue (#3489)

    * Try to reproduce codegen issue
    
    * Update schema-from-typedefs.spec.ts
    
    * fix(merge): convertExtensions should convert extensions to regular definitions not other way around
    
    * Add changeset for load anyway
    
    * Fix
    ardatan authored Sep 7, 2021
    Copy the full SHA
    9a00516 View commit details
  3. chore(deps): update dependency @types/node to v14.17.15 (#3497)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 7, 2021
    Copy the full SHA
    5943dd4 View commit details
  4. Wrap: tests for TransformCompositeFields (#3491)

    * tests for transform composite fields.
    
    * shrink diff.
    
    * fix ts warning.
    
    * wrong string?
    gmac authored Sep 7, 2021
    Copy the full SHA
    310f87d View commit details
  5. chore(release): update monorepo packages versions (#3498)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Sep 7, 2021
    1
    Copy the full SHA
    e91cc54 View commit details
  6. 1
    Copy the full SHA
    320122b View commit details
  7. chore(release): update monorepo packages versions (#3500)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Sep 7, 2021
    1
    Copy the full SHA
    8e6ad63 View commit details
  8. chore(deps): update dependency @vue/compiler-sfc to v3.2.10 (#3502)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 7, 2021
    1
    Copy the full SHA
    6bb1dcc View commit details

Commits on Sep 8, 2021

  1. fix(deps): update dependency ws to v8.2.2 (#3506)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 8, 2021
    1
    Copy the full SHA
    48be6ca View commit details

Commits on Sep 9, 2021

  1. Try Node v16.8.0

    ardatan committed Sep 9, 2021
    1
    Copy the full SHA
    cfc80d3 View commit details
  2. chore(deps): update dependency @vue/compiler-sfc to v3.2.11 (#3507)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 9, 2021
    1
    Copy the full SHA
    a292654 View commit details
  3. fix(deps): update apollo graphql packages (#3505)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 9, 2021
    1
    Copy the full SHA
    2451a66 View commit details
  4. chore(deps): update jest monorepo to v27.1.1 (#3504)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 9, 2021
    1
    Copy the full SHA
    57ccdb3 View commit details
  5. chore(deps): update dependency prettier to v2.4.0 (#3509)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 9, 2021
    1
    Copy the full SHA
    40240ff View commit details
  6. fix(deps): update babel monorepo to v7.15.6 (#3512)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 9, 2021
    1
    Copy the full SHA
    38cd142 View commit details
  7. chore(deps): update dependency esbuild to v0.12.26 (#3511)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 9, 2021
    1
    Copy the full SHA
    0a3d46a View commit details

Commits on Sep 11, 2021

  1. chore(deps): update dependency typescript to v4.4.3 (#3514)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 11, 2021
    1
    Copy the full SHA
    876a6a2 View commit details
  2. chore(deps): update dependency @apollo/client to v3.4.11 (#3508)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 11, 2021
    1
    Copy the full SHA
    7a69319 View commit details

Commits on Sep 13, 2021

  1. chore(deps): update dependency esbuild to v0.12.27 (#3517)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Sep 13, 2021
    1
    Copy the full SHA
    74357e7 View commit details
Showing with 2,814 additions and 1,445 deletions.
  1. +0 −1 .eslintrc.json
  2. +3 −3 .github/workflows/benchmark.yml
  3. +3 −3 .github/workflows/canary.yml
  4. +3 −3 .github/workflows/release.yml
  5. +4 −4 .github/workflows/tests.yml
  6. +0 −1 .gitignore
  7. +1 −2 .vscode/settings.json
  8. +14 −0 benchmark/federation/CHANGELOG.md
  9. +6 −6 benchmark/federation/package.json
  10. +75 −75 benchmark/federation/yarn.lock
  11. +1 −11 bob.config.js
  12. +17 −17 package.json
  13. +12 −0 packages/batch-execute/CHANGELOG.md
  14. +2 −2 packages/batch-execute/package.json
  15. +10 −8 packages/batch-execute/src/createBatchingExecutor.ts
  16. +24 −7 packages/batch-execute/src/mergeRequests.ts
  17. +2 −2 packages/batch-execute/src/prefix.ts
  18. +7 −2 packages/batch-execute/src/splitResult.ts
  19. +197 −0 packages/batch-execute/tests/batchExecute.test.ts
  20. +19 −0 packages/delegate/CHANGELOG.md
  21. +3 −3 packages/delegate/package.json
  22. +1 −1 packages/delegate/src/mergeFields.ts
  23. +6 −0 packages/graphql-tag-pluck/CHANGELOG.md
  24. +5 −5 packages/graphql-tag-pluck/package.json
  25. +7 −1 packages/graphql-tag-pluck/src/index.ts
  26. +12 −0 packages/import/CHANGELOG.md
  27. +1 −1 packages/import/package.json
  28. +58 −45 packages/import/src/index.ts
  29. +1 −0 packages/import/tests/schema/fixtures/multiple-levels-master-schema/level1.graphql
  30. +13 −0 packages/import/tests/schema/fixtures/multiple-levels-master-schema/level2.graphql
  31. +11 −0 packages/import/tests/schema/fixtures/multiple-levels-master-schema/level3.graphql
  32. +7 −0 packages/import/tests/schema/fixtures/multiple-levels-master-schema/level4.graphql
  33. +5 −0 packages/import/tests/schema/fixtures/multiple-levels/level1.graphql
  34. +5 −0 packages/import/tests/schema/fixtures/multiple-levels/level2.graphql
  35. +11 −0 packages/import/tests/schema/fixtures/multiple-levels/level3.graphql
  36. +7 −0 packages/import/tests/schema/fixtures/multiple-levels/level4.graphql
  37. +67 −1 packages/import/tests/schema/import-schema.spec.ts
  38. +1 −1 packages/links/package.json
  39. +6 −0 packages/load-files/CHANGELOG.md
  40. +1 −1 packages/load-files/package.json
  41. +14 −2 packages/load-files/src/index.ts
  42. +24 −0 packages/load/CHANGELOG.md
  43. +2 −2 packages/load/package.json
  44. +11 −4 packages/load/src/schema.ts
  45. +54 −1 packages/load/tests/loaders/schema/integration.spec.ts
  46. +20 −3 packages/load/tests/loaders/schema/schema-from-string.spec.ts
  47. +26 −4 packages/load/tests/loaders/schema/schema-from-typedefs.spec.ts
  48. +5 −0 packages/load/tests/loaders/schema/test-files/level1.graphql
  49. +5 −0 packages/load/tests/loaders/schema/test-files/level2.graphql
  50. +11 −0 packages/load/tests/loaders/schema/test-files/level3.graphql
  51. +7 −0 packages/load/tests/loaders/schema/test-files/level4.graphql
  52. +5 −0 packages/load/tests/loaders/schema/test-files/nested-imports/query.graphql
  53. +11 −0 packages/load/tests/loaders/schema/test-files/nested-imports/types.graphql
  54. +15 −0 packages/load/tests/loaders/schema/test-files/schema-dir/non-sorted.graphql
  55. +1 −1 packages/loaders/git/package.json
  56. +1 −1 packages/loaders/prisma/package.json
  57. +6 −0 packages/loaders/url/CHANGELOG.md
  58. +6 −5 packages/loaders/url/package.json
  59. +50 −1 packages/loaders/url/src/index.ts
  60. +59 −0 packages/loaders/url/tests/url-loader.spec.ts
  61. +14 −0 packages/merge/CHANGELOG.md
  62. +2 −2 packages/merge/package.json
  63. +2 −2 packages/merge/src/typedefs-mergers/enum.ts
  64. +2 −2 packages/merge/src/typedefs-mergers/input-type.ts
  65. +2 −2 packages/merge/src/typedefs-mergers/interface.ts
  66. +1 −1 packages/merge/src/typedefs-mergers/merge-typedefs.ts
  67. +2 −2 packages/merge/src/typedefs-mergers/scalar.ts
  68. +9 −8 packages/merge/src/typedefs-mergers/schema-def.ts
  69. +2 −2 packages/merge/src/typedefs-mergers/type.ts
  70. +2 −4 packages/merge/src/typedefs-mergers/union.ts
  71. +53 −10 packages/merge/tests/merge-typedefs.spec.ts
  72. +17 −0 packages/mock/CHANGELOG.md
  73. +2 −2 packages/mock/package.json
  74. +13 −4 packages/mock/src/MockStore.ts
  75. +5 −0 packages/mock/src/types.ts
  76. +39 −0 packages/mock/tests/addMocksToSchema.spec.ts
  77. +56 −0 packages/mock/tests/store.spec.ts
  78. +1 −1 packages/relay-operation-optimizer/package.json
  79. +1 −1 packages/resolvers-composition/package.json
  80. +1 −1 packages/schema/package.json
  81. +9 −0 packages/stitch/CHANGELOG.md
  82. +3 −3 packages/stitch/package.json
  83. +10 −3 packages/stitch/src/typeCandidates.ts
  84. +16 −5 packages/stitch/src/typeFromAST.ts
  85. +6 −0 packages/stitching-directives/CHANGELOG.md
  86. +1 −1 packages/stitching-directives/package.json
  87. +5 −2 packages/stitching-directives/src/federationToStitchingSDL.ts
  88. +4 −2 packages/stitching-directives/src/stitchingDirectives.ts
  89. +13 −16 packages/stitching-directives/tests/federationToStitchingSDL.test.ts
  90. +29 −0 packages/utils/CHANGELOG.md
  91. +3 −3 packages/utils/package.json
  92. +30 −30 packages/utils/src/comments.ts
  93. +26 −0 packages/utils/src/fixSchemaAst.ts
  94. +1 −0 packages/utils/src/index.ts
  95. +4 −1 packages/utils/src/print-schema-with-directives.ts
  96. +3 −1 packages/utils/src/visitResult.ts
  97. +5 −1 packages/utils/tests/print-schema-with-directives.spec.ts
  98. +11 −1 packages/utils/tests/visitResult.test.ts
  99. +6 −0 packages/wrap/CHANGELOG.md
  100. +1 −1 packages/wrap/package.json
  101. +1 −1 packages/wrap/src/transforms/MapLeafValues.ts
  102. +23 −4 packages/wrap/tests/transformMapLeafValues.test.ts
  103. +99 −0 packages/wrap/tests/transformTransformCompositeFields.test.ts
  104. +0 −9 tsconfig.build.es5.json
  105. +1 −3 tsconfig.json
  106. +147 −0 website/docs/batch-execution.mdx
  107. +12 −0 website/docs/mocking.mdx
  108. +48 −0 website/docs/remote-schemas.mdx
  109. +39 −0 website/docs/server-setup.mdx
  110. +14 −14 website/package.json
  111. +1 −0 website/routes.ts
  112. +1,056 −1,070 yarn.lock
1 change: 0 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -56,7 +56,6 @@
],
"ignorePatterns": [
"dist",
"dist-es5",
"node_modules",
"packages/load/tests/loaders/schema",
"website",
6 changes: 3 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -17,14 +17,14 @@ jobs:
- name: Use Node
uses: actions/setup-node@master
with:
node-version: 16
node-version: '16.8.0'
- name: Cache Yarn
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-16-15-yarn-${{ hashFiles('yarn.lock') }}
key: ${{ runner.os }}-16.8.0-15-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-16-15-yarn
${{ runner.os }}-16.8.0-15-yarn
- name: Install Dependencies using Yarn
run: yarn install --ignore-engines && git checkout yarn.lock
- name: Build packages
6 changes: 3 additions & 3 deletions .github/workflows/canary.yml
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ jobs:
- name: Use Node
uses: actions/setup-node@v2
with:
node-version: 16
node-version: '16.8.0'
- name: Configure Git Credentials
run: |
git config --global user.email "theguild-bot@users.noreply.github.com"
@@ -44,9 +44,9 @@ jobs:
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-16-15-yarn-${{ hashFiles('yarn.lock') }}
key: ${{ runner.os }}-16.8.0-15-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-16-15-yarn-
${{ runner.os }}-16.8.0-15-yarn-
- name: Install Dependencies using Yarn
run: yarn install --ignore-engines && git checkout yarn.lock
- name: Release Canary
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ jobs:
- name: Use Node
uses: actions/setup-node@v2
with:
node-version: 16
node-version: '16.8.0'
- name: Setup NPM credentials
run: echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" >> ~/.npmrc
env:
@@ -33,9 +33,9 @@ jobs:
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-16-15-yarn-${{ hashFiles('yarn.lock') }}
key: ${{ runner.os }}-16.8.0-15-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-16-15-yarn-
${{ runner.os }}-16.8.0-15-yarn-
- name: Install Dependencies using Yarn
run: yarn install --ignore-engines && git checkout yarn.lock
- name: Create Release Pull Request or Publish to npm
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -65,7 +65,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest] # remove windows to speed up the tests
node_version: [12, 16]
node_version: [12, '16.8.0']
graphql_version:
- 14
- 15
@@ -112,14 +112,14 @@ jobs:
- name: Use Node
uses: actions/setup-node@master
with:
node-version: 16
node-version: '16.8.0'
- name: Cache Yarn
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-16-15-yarn-${{ hashFiles('yarn.lock') }}
key: ${{ runner.os }}-16.8.0-15-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-16-15-yarn
${{ runner.os }}-16.8.0-15-yarn
- name: Install Dependencies using Yarn
run: yarn install --ignore-engines && git checkout yarn.lock
- name: Build Packages
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -62,7 +62,6 @@ typings/


dist
dist-es5
build
temp
.idea
3 changes: 1 addition & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -17,8 +17,7 @@
"lib": true,
"coverage": true,
"npm": true,
"**/dist": true,
"**/dist-es5": true
"**/dist": true
},
"typescript.tsdk": "node_modules/typescript/lib"
}
14 changes: 14 additions & 0 deletions benchmark/federation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# federation-benchmark

## 0.0.17

### Patch Changes

- Updated dependencies [320122ba]
- @graphql-tools/stitching-directives@2.1.1

## 0.0.16

### Patch Changes

- Updated dependencies [d4918a78]
- @graphql-tools/stitch@8.3.1

## 0.0.15

### Patch Changes
12 changes: 6 additions & 6 deletions benchmark/federation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "federation-benchmark",
"version": "0.0.15",
"version": "0.0.17",
"private": true,
"scripts": {
"start": "cross-env NODE_ENV=production node index.js",
@@ -9,12 +9,12 @@
"loadtest:monolith": "k6 -e ENDPOINT=monolith run k6.js"
},
"dependencies": {
"@apollo/gateway": "0.39.0",
"@apollo/federation": "0.30.0",
"@graphql-tools/stitch": "8.3.0",
"@graphql-tools/stitching-directives": "2.1.0",
"@apollo/gateway": "0.42.0",
"@apollo/federation": "0.33.0",
"@graphql-tools/stitch": "8.3.1",
"@graphql-tools/stitching-directives": "2.1.1",
"express": "4.17.1",
"graphql": "15.5.2",
"graphql": "15.6.0",
"graphql-tag": "2.12.5",
"wait-on": "6.0.0",
"cross-env": "7.0.3"
150 changes: 75 additions & 75 deletions benchmark/federation/yarn.lock
Original file line number Diff line number Diff line change
@@ -7,23 +7,23 @@
resolved "https://registry.yarnpkg.com/@apollo/core-schema/-/core-schema-0.1.0.tgz#a9444f60deaded118657eb3373ddd64ced9ba0cd"
integrity sha512-BwOWRnDLj1Y3mMdfjdcv8/h7jcfVnUqb+LfpWRX3siXWtGCGsrg+OTj0l7M7uJGOnN6ZM0XJyY9Pk5Lisb7q6Q==

"@apollo/federation@0.30.0", "@apollo/federation@^0.30.0":
version "0.30.0"
resolved "https://registry.yarnpkg.com/@apollo/federation/-/federation-0.30.0.tgz#8f21005aa35364b73283d737aeea6cac09101830"
integrity sha512-z255abB6EJGt7W+ffMgYwt8IGR/n3FpFv6WS6htV3F1h4IeIOynZQT5FrrJf5cuhDueMkW1ORaO96jcfmJETgg==
"@apollo/federation@0.33.0", "@apollo/federation@^0.33.0":
version "0.33.0"
resolved "https://registry.yarnpkg.com/@apollo/federation/-/federation-0.33.0.tgz#73e3ead912844c5c99beecfa6eadd5fea9ccda32"
integrity sha512-Zywqb6Zv12/PVl7K/jtDgcJFghg02fqqDHyGbHBhf0+WdNvI9QqRvOY433BuZw/NYcRUbz9cPEAG5JCRB2K83w==
dependencies:
apollo-graphql "^0.9.3"
apollo-server-types "^3.0.2"
lodash.xorby "^4.7.0"

"@apollo/gateway@0.39.0":
version "0.39.0"
resolved "https://registry.yarnpkg.com/@apollo/gateway/-/gateway-0.39.0.tgz#1e8d20597f2325fe574599868c39a450f491cfda"
integrity sha512-YGUDyD/TYV9hvj3UqnBsRkwMcTh6iR/y3861LbmudUBvUJcwNzPmC/ZI/f5Q81cWOgUpO6G8brIhkMhmZBuIMQ==
"@apollo/gateway@0.42.0":
version "0.42.0"
resolved "https://registry.yarnpkg.com/@apollo/gateway/-/gateway-0.42.0.tgz#c77dc063d57358d93342d7ec452850879e2e3695"
integrity sha512-tNFhz8A6hsAN29rf2LvrqiDySx4x4TQS2wg/pNhwjEKJLcHkH4JC0bsGKz5mBy+6Dv812XS9r2TOdiMO5IdFCw==
dependencies:
"@apollo/core-schema" "^0.1.0"
"@apollo/federation" "^0.30.0"
"@apollo/query-planner" "^0.4.0"
"@apollo/federation" "^0.33.0"
"@apollo/query-planner" "^0.5.0"
"@opentelemetry/api" "^1.0.1"
"@types/node-fetch" "2.5.12"
apollo-graphql "^0.9.3"
@@ -56,10 +56,10 @@
"@types/node" "^10.1.0"
long "^4.0.0"

"@apollo/query-planner@^0.4.0":
version "0.4.0"
resolved "https://registry.yarnpkg.com/@apollo/query-planner/-/query-planner-0.4.0.tgz#fa261f2a04ce5a0a811efacecf44c18cbe103ced"
integrity sha512-7od4xSi3dwFgfMcssWkLMY9UfNCH70d2kQ2sV2q5bsTNcKqgC14qfgAeiiTDA0b+n7NjZlRz4MkFwbhdjlNb2Q==
"@apollo/query-planner@^0.5.0":
version "0.5.0"
resolved "https://registry.yarnpkg.com/@apollo/query-planner/-/query-planner-0.5.0.tgz#98fa95c4da79951795099cbfd547146d4fa4f2f0"
integrity sha512-lWXo84TGLU+z/Puf/uSdXwCKvCap6sWW6AHrMU94eCEs9Jmq6eEw1ozMDeN6ORk3fVcaRQ+To0D6JpKX9NNiLw==
dependencies:
apollo-graphql "^0.9.3"
chalk "^4.1.0"
@@ -85,34 +85,34 @@
dependencies:
tslib "~2.0.1"

"@graphql-tools/batch-delegate@8.0.12":
version "8.0.12"
resolved "https://registry.yarnpkg.com/@graphql-tools/batch-delegate/-/batch-delegate-8.0.12.tgz#77089a6ff5ea4c31c7612e5555418fa3cf2e9146"
integrity sha512-ThqBdrL4dMSTKPLK7XHBg0Uv1JmqiL/oWEQ6/PLiTz6llwNzcK5s1CTTRgerwvRjCLyXiQnidMpdVQADp0jCQg==
"@graphql-tools/batch-delegate@8.1.0":
version "8.1.0"
resolved "https://registry.yarnpkg.com/@graphql-tools/batch-delegate/-/batch-delegate-8.1.0.tgz#3214703a43084c6fc8ee6c949ce181fd8cee117a"
integrity sha512-iebquVJEjfP6QGUiQR5V1xdnB+rJbfIHYHBHQc5X/W6wUD4NlaovjGXTDHiEl/B72TWVRtpuOs4KO0WT+GKO4Q==
dependencies:
"@graphql-tools/delegate" "^8.1.1"
"@graphql-tools/utils" "^8.1.2"
"@graphql-tools/delegate" "^8.2.0"
"@graphql-tools/utils" "^8.2.0"
dataloader "2.0.0"
tslib "~2.3.0"

"@graphql-tools/batch-execute@^8.0.5":
version "8.0.5"
resolved "https://registry.yarnpkg.com/@graphql-tools/batch-execute/-/batch-execute-8.0.5.tgz#a0f8a9ff2c61209974c626faf3dd922a5c68d2b0"
integrity sha512-Zx+zs12BLGNvrQtfESIhitzwIkrWnKyKOkAfcaMNuOLGOO2pDmhwIRzbHj+6Jtq9V1/JTaVkSnm/4ozaCRck5A==
"@graphql-tools/batch-execute@^8.1.0":
version "8.1.0"
resolved "https://registry.yarnpkg.com/@graphql-tools/batch-execute/-/batch-execute-8.1.0.tgz#fd463bab0e870a662bb00f12d5ce0013b11ae990"
integrity sha512-PPf8SZto4elBtkaV65RldkjvxCuwYV7tLYKH+w6QnsxogfjrtiwijmewtqIlfnpPRnuhmMzmOlhoDyf0I8EwHw==
dependencies:
"@graphql-tools/utils" "^8.1.1"
"@graphql-tools/utils" "^8.2.0"
dataloader "2.0.0"
tslib "~2.3.0"
value-or-promise "1.0.10"

"@graphql-tools/delegate@^8.1.0", "@graphql-tools/delegate@^8.1.1":
version "8.1.1"
resolved "https://registry.yarnpkg.com/@graphql-tools/delegate/-/delegate-8.1.1.tgz#d20e6d81a2900b1c8a69c2c0a3a8a0df2f9030c2"
integrity sha512-Vttd0nfYTqRnRMKLvk8s4cIi9U+OMXGc9CMZAlKkHrBJ6dGXjdSM+4n3p9rfWZc/FtbVk1FnNS4IFyMeKwFuxA==
"@graphql-tools/delegate@^8.2.0":
version "8.2.1"
resolved "https://registry.yarnpkg.com/@graphql-tools/delegate/-/delegate-8.2.1.tgz#750df27be7641836e0cb654b953581de30f2d1a6"
integrity sha512-fvQjSrCJCfchSQlLNHPcj1TwojyV1CPtXmwtSEVKvyp9axokuP37WGyliOWUYCepfwpklklLFUeTEiWlCoxv2Q==
dependencies:
"@graphql-tools/batch-execute" "^8.0.5"
"@graphql-tools/schema" "^8.1.2"
"@graphql-tools/utils" "^8.1.2"
"@graphql-tools/batch-execute" "^8.1.0"
"@graphql-tools/schema" "^8.2.0"
"@graphql-tools/utils" "^8.2.0"
dataloader "2.0.0"
tslib "~2.3.0"
value-or-promise "1.0.10"
@@ -126,12 +126,12 @@
"@graphql-tools/utils" "8.0.1"
tslib "~2.3.0"

"@graphql-tools/merge@^8.0.2", "@graphql-tools/merge@^8.0.3":
version "8.0.3"
resolved "https://registry.yarnpkg.com/@graphql-tools/merge/-/merge-8.0.3.tgz#56c844bc5d7d833456695c8e5eda4f1a0d5be873"
integrity sha512-lVMyW9cREs+nQYbUvMaaqSl+pRCezl2RafNMFi/04akjvOtjVefdi7n3pArpSqPhLHPJDyQRlI8CK8cmOZ9jTA==
"@graphql-tools/merge@^8.1.0", "@graphql-tools/merge@^8.1.1":
version "8.1.1"
resolved "https://registry.yarnpkg.com/@graphql-tools/merge/-/merge-8.1.1.tgz#692ff0de5e6b025a1166e25d7cda4e20ec0c2df3"
integrity sha512-zyeUbFG5zasSQC6LnBxzhmPTLYeeT3c0ijYfmFlIlOLiTAdRgCjIba03l6kKHcCiMDJYr+P+Nz5kKYLGqPSSjQ==
dependencies:
"@graphql-tools/utils" "^8.1.2"
"@graphql-tools/utils" "^8.2.2"
tslib "~2.3.0"

"@graphql-tools/mock@^8.1.2":
@@ -154,36 +154,36 @@
tslib "~2.2.0"
value-or-promise "1.0.6"

"@graphql-tools/schema@^8.0.1", "@graphql-tools/schema@^8.1.2":
version "8.1.2"
resolved "https://registry.yarnpkg.com/@graphql-tools/schema/-/schema-8.1.2.tgz#913879da1a7889a9488e9b7dc189e7c83eff74be"
integrity sha512-rX2pg42a0w7JLVYT+f/yeEKpnoZL5PpLq68TxC3iZ8slnNBNjfVfvzzOn8Q8Q6Xw3t17KP9QespmJEDfuQe4Rg==
"@graphql-tools/schema@^8.0.1", "@graphql-tools/schema@^8.2.0":
version "8.2.0"
resolved "https://registry.yarnpkg.com/@graphql-tools/schema/-/schema-8.2.0.tgz#ae75cbb2df6cee9ed6d89fce56be467ab23758dc"
integrity sha512-ufmI5mJQa8NJczzfkh0pUttKvspqDcT5LLakA3jUmOrrE4d4NVj6onZlazdTzF5sAepSNqanFnwhrxZpCAJMKg==
dependencies:
"@graphql-tools/merge" "^8.0.2"
"@graphql-tools/utils" "^8.1.1"
"@graphql-tools/merge" "^8.1.0"
"@graphql-tools/utils" "^8.2.0"
tslib "~2.3.0"
value-or-promise "1.0.10"

"@graphql-tools/stitch@8.2.1":
version "8.2.1"
resolved "https://registry.yarnpkg.com/@graphql-tools/stitch/-/stitch-8.2.1.tgz#19f174e642b6e4ae16064215706acd59d71f6520"
integrity sha512-QZ4qu++9XwrSVL51DpmwRSpPkdS7ScbyTkHOtudAwQv/rti6RP+qlAaRwMLao1WZfjZDnNJj/JeXqnPHjHTj8w==
dependencies:
"@graphql-tools/batch-delegate" "8.0.12"
"@graphql-tools/delegate" "^8.1.1"
"@graphql-tools/merge" "^8.0.3"
"@graphql-tools/schema" "^8.1.2"
"@graphql-tools/utils" "^8.1.2"
"@graphql-tools/wrap" "^8.0.13"
"@graphql-tools/stitch@8.3.1":
version "8.3.1"
resolved "https://registry.yarnpkg.com/@graphql-tools/stitch/-/stitch-8.3.1.tgz#8e4dfeb720585f478cc81f810c48d23531c85ae8"
integrity sha512-qSULit2caRVTJcUPuHNWiRbfuD18Q3m2Txt4MFGNRUAukqVs6q2vHwNpGxvnGAyTZ8FR+FiGujmIqKMsf5bqhw==
dependencies:
"@graphql-tools/batch-delegate" "8.1.0"
"@graphql-tools/delegate" "^8.2.0"
"@graphql-tools/merge" "^8.1.1"
"@graphql-tools/schema" "^8.2.0"
"@graphql-tools/utils" "^8.2.2"
"@graphql-tools/wrap" "^8.1.0"
tslib "~2.3.0"

"@graphql-tools/stitching-directives@2.0.11":
version "2.0.11"
resolved "https://registry.yarnpkg.com/@graphql-tools/stitching-directives/-/stitching-directives-2.0.11.tgz#3cc89049270fd988d93775dd2bd677cfc58f7e7f"
integrity sha512-y1JChdbRijkRtj3KLravIUnvKUJU3VplN7AmejZvZNERJvps67RhW0LtnygOD3MdgJHRxguzMFWbWGcGPLzS6w==
"@graphql-tools/stitching-directives@2.1.1":
version "2.1.1"
resolved "https://registry.yarnpkg.com/@graphql-tools/stitching-directives/-/stitching-directives-2.1.1.tgz#7c5d40bbdf0ebd114408e36b6074446361898302"
integrity sha512-RgnijzFRKORYIcqzvoO+TA4sXRTgGb7AuOWjVl5pyqu/JRfQZ3zThIzq/+20XyjtPxfZloObOx+6L4HnPKk9WA==
dependencies:
"@graphql-tools/delegate" "^8.1.0"
"@graphql-tools/utils" "^8.1.1"
"@graphql-tools/delegate" "^8.2.0"
"@graphql-tools/utils" "^8.2.0"
tslib "~2.3.0"

"@graphql-tools/utils@8.0.1":
@@ -202,21 +202,21 @@
camel-case "4.1.2"
tslib "~2.2.0"

"@graphql-tools/utils@^8.1.1", "@graphql-tools/utils@^8.1.2":
version "8.1.2"
resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-8.1.2.tgz#a376259fafbca7532fda657e3abeec23b545e5d3"
integrity sha512-3G+NIBR5mHjPm78jAD0l07JRE0XH+lr9m7yL/wl69jAzK0Jr/H+/Ok4ljEolI70iglz+ZhIShVPAwyesF6rnFg==
"@graphql-tools/utils@^8.2.0", "@graphql-tools/utils@^8.2.2":
version "8.2.2"
resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-8.2.2.tgz#d29420bf1003d2876cb30f373145be432c7f7c4b"
integrity sha512-29FFY5U4lpXuBiW9dRvuWnBVwGhWbGLa2leZcAMU/Pz47Cr/QLZGVgpLBV9rt+Gbs7wyIJM7t7EuksPs0RDm3g==
dependencies:
tslib "~2.3.0"

"@graphql-tools/wrap@^8.0.13":
version "8.0.13"
resolved "https://registry.yarnpkg.com/@graphql-tools/wrap/-/wrap-8.0.13.tgz#17a4096efbc64e15b27a74135d920c8bd3e5385a"
integrity sha512-GTkHbN+Zgs+D7bFniFx3/YqNIDv8ET17prM7FewmU8LNRc2P48y6d4/dkQLcwQmryy1TZF87es6yA9FMNfQtWg==
"@graphql-tools/wrap@^8.1.0":
version "8.1.0"
resolved "https://registry.yarnpkg.com/@graphql-tools/wrap/-/wrap-8.1.0.tgz#2e618c78de910725130e5231666ca69a75f6cf99"
integrity sha512-WLT/bFewOIY8KJMzgOJSM/02fXJSFktFvI+JRu39wDH+hwFy1y7pFC0Bs1TP8B/hAEJ+t9+7JspX0LQWAUFjDg==
dependencies:
"@graphql-tools/delegate" "^8.1.0"
"@graphql-tools/schema" "^8.1.2"
"@graphql-tools/utils" "^8.1.1"
"@graphql-tools/delegate" "^8.2.0"
"@graphql-tools/schema" "^8.2.0"
"@graphql-tools/utils" "^8.2.0"
tslib "~2.3.0"
value-or-promise "1.0.10"

@@ -979,10 +979,10 @@ graphql-tag@2.12.5, graphql-tag@^2.11.0:
dependencies:
tslib "^2.1.0"

graphql@15.5.2:
version "15.5.2"
resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.5.2.tgz#efa19f8f2bf1a48eb7d5c85bf17e144ba8bb0480"
integrity sha512-dZjLPWNQqYv0dqV2RNbiFed0LtSp6yd4jchsDGnuhDKa9OQHJYCfovaOEvY91w9gqbYO7Se9LKDTl3xxYva/3w==
graphql@15.6.0:
version "15.6.0"
resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.6.0.tgz#e69323c6a9780a1a4b9ddf7e35ca8904bb04df02"
integrity sha512-WJR872Zlc9hckiEPhXgyUftXH48jp2EjO5tgBBOyNMRJZ9fviL2mJBD6CAysk6N5S0r9BTs09Qk39nnJBkvOXQ==

has-bigints@^1.0.1:
version "1.0.1"
Loading