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/merge@6.2.15
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/merge@6.2.16
Choose a head ref

Commits on Jul 28, 2021

  1. Copy the full SHA
    c23b5b8 View commit details
  2. [deploy_website] integrated guild-docs as website (#3085)

    API routes generation fix
    
    docs & components update; routing fixes
    
    gitignore update
    
    fix(deps): update dependency extract-files to v11 (#3065)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    fix(deps): update dependency tslib to ~2.3.0 (#3067)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    fix(deps): update dependency the-guild-components to v1.3.1 (#3070)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    fix(deps): update dependency apollo-upload-client to v16 (#3066)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update typescript-eslint monorepo to v4.27.0 (#3071)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update babel monorepo to v7.14.6 (#3072)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    [deploy_website] Update generate-schema.md (#3074)
    
    corrected grammar
    
    fix(deps): update dependency globby to v11.0.4 (#3077)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    fix(deps): update dependency ws to v7.5.0 (#3078)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update dependency typescript to v4.3.3 (#3083)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update dependency typedoc to v0.20.37 (#3082)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    Jest Transformer for GraphQL (#1887)
    
    * Jest Transformer for GraphQL
    
    * Changeset
    
    * Align versions
    
    * Fix package.json
    
    * yarn.lock
    
    * Fix
    
    Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
    
    chore(deps): update dependency @types/ws to v7.4.5 (#3084)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    Safer use of `Object.prototype.hasOwnProperty` (#3069)
    
    * Safer use of `Object.prototype.hasOwnProperty`
    
    Fixes an error I get when GraphQL JS passes a prototypeless object into the resolver
    
    ```
    ReferenceError: maybeRef is not defined
        at eval (eval at <anonymous> (/Users/mattalexander/Projects/edge-sites-schema/tests/regression.test.js:67:7), <anonymous>:1:38)
        at forEach (/projectpath/tests/regression.test.js:67:7)
        at Array.forEach (<anonymous>)
        at Object.<anonymous> (/projectpath/tests/regression.test.js:65:17)
    ```
    
    * changeset and test
    
    Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
    
    BugFix: Handle parsing endpoints when there are no mutations (#3076)
    
    * BugFix: Handle parsing endpoints when there are no mutations
    
    * changeset and test
    
    * pass tests
    
    Co-authored-by: itai <itaimain@gmail.com>
    Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
    
    chore(deps): update dependency typescript to v4.3.4 (#3086)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update dependency typedoc to v0.21.0 (#3087)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update dependency typedoc-plugin-markdown to v3.10.0 (#3088)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update dependency eslint to v7.29.0 (#3089)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update dependency graphql to v15.5.1 (#3091)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    enable typescript strict mode (#3010)
    
    * enable noImplicitThis
    
    * enable `strictBindCallApply`
    
    * enable `strictFunctionTypes` 1: testing
    
    * enable `strictFunctionTypes` 2: utils
    
    * enable strictFunctionTypes 3: schema
    
    * enable strictFunctionTypes 4: batch-execute
    
    * enable strictFunctionTypes 5 `load`
    
    * enable strictFunctionTypes 6 `loaders/url`
    
    * enable strictFunctionTypes 7 `webpack-loader`
    
    * enable strictFunctionTypes 8 `links`
    
    * enable strictFunctionTypes 9 `delegate` and `batch-delegate`
    
    * enable `strictFunctionTypes` 10 `wrap`
    
    * enable `strictFunctionTypes` 11 `stitch` and `stitching-directive`
    
    * enable `strictFunctionTypes` final tsconfig
    
    * remove unnecessary generic params
    
    * enable `strictNullChecks` 1 `utils`
    
    * enable `strictNullChecks` 2 `schema`
    
    * enable `strictNullChecks` 3 `resolvers-composition`
    
    * enable `strictNullChecks` 4 `webpack-loader`
    
    * enable `strictNullChecks` 5 `batch-execute`
    
    * enable `strictNullChecks` 6 `graphql-tag-plug`
    
    * enable `strictNullChecks` 7 `import`
    
    * enable `strictNullChecks` 8 `loaders/url`
    
    * enable `strictNullChecks` 8 `loaders/prisma`
    
    * enable `strictNullChecks` 8 `loaders/module`
    
    * enable `strictNullChecks` 9 `loaders/github`
    
    * enable `strictNullChecks` 12 `loaders/code-file`
    
    * enable `strictNullChecks` 13 `load`
    
    * enable `strictNullChecks` 14 `delegate`
    
    * enable `strictNullChecks` 15 `batch-delegate`
    
    * interlude: move commonly used stuff to testing folder
    
    * enable `strictNullChecks` 16 `wrap`
    
    * enable `strictNullChecks` 17 `stitch`
    
    * enable `strictNullChecks` 18 `load-files`
    
    * enable `strictNullChecks` 19 `load-typedefs`
    
    * enable `strictNullChecks` 20 `merge`
    
    * enable `strictNullChecks` 21 `node-require`
    
    * enable `strictNullChecks` 22 `mock`
    
    * enable `strictNullChecks` 22 `stitching-directive`
    
    * enable `strictNullChecks` flag in tsconfig
    
    * fix: graphql-js 14 compat
    
    * fix `strictPropertyInitialization` errors
    
    * enable strictPropertyInitialization rule
    
    * strict mode!!!
    
    * enable `noPropertyAccessFromIndexSignature`
    
    * enable `noFallthroughCasesInSwitch` and `noPropertyAccessFromIndexSignature`
    
    * Add strict to new changes
    
    * fix: remove casts as upstream issue is fixed
    
    * fix: throw if we cannot identify the operation type.
    
    #3010 (comment)
    #3010 (comment)
    
    * fix: change wording of error
    
    #3010 (comment)
    
    * fix: make error message more clear
    
    #3010 (comment)
    
    * refactor: use null/undefined instead of falsey check
    
    * fix: assert operation from document
    
    #3010 (comment)
    
    * fix: type narrowing not working due to generics
    
    #3010 (comment)
    
    * fix: apply feedback for relocateError
    
    * Make wrapSchema generic. Fix #3064 (#1)
    
    * Fix Build
    
    Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
    Co-authored-by: Augustin Le Fèvre <augustin.public@gmail.com>
    
    Huge cleanup before major release (breaking) (#3081)
    
    * Breaking cleanup before major release
    
    * Fix TS
    
    * More
    
    chore(deps): update typescript-eslint monorepo to v4.28.0 (#3093)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    fix(deps): update babel monorepo to v7.14.7 (#3094)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update jest monorepo to v27.0.5 (#3095)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update dependency @vue/compiler-sfc to v3.1.2 (#3097)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    fix build errors
    
    Huge cleanup before major release (breaking) (#3081)
    
    * Breaking cleanup before major release
    
    * Fix TS
    
    * More
    
    chore(deps): update typescript-eslint monorepo to v4.28.0 (#3093)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    fix(deps): update babel monorepo to v7.14.7 (#3094)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update jest monorepo to v27.0.5 (#3095)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update dependency @vue/compiler-sfc to v3.1.2 (#3097)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    fix(deps): update dependency the-guild-components to v1.4.0 (#3098)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update dependency @types/node to v14.17.4 (#3101)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    Some other refactor (#3096)
    
    * Fix typing errors in tests
    
    * ReplaObject.keys/values and forEach with for..in and for..of loops
    
    * Improve Type Checking
    
    * Update CI workflow
    
    * Fix linting
    
    * Fix TS errors for v14
    
    * More
    
    * More
    
    * Allow incremental builds
    
    * Finish
    
    * Fix Type Check
    
    * Disable sourcemaps
    
    * Fix type issues
    
    Better changelog
    
    Respect  and  in  and more changes
    
    chore(CI): Ability to release canaries on demand
    
    Make AggregateError spec compliant
    
    reintegration
    
    docs update
    
    updated tgc version and removed Poppins import
    
    Able to release with custom tags
    
    chore(deps): update dependency typedoc-plugin-markdown to v3.10.2 (#3107)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    Prevent TS Server to die on VSCode
    
    chore(deps): update dependency typedoc to v0.21.1 (#3108)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update dependency graphql-tag to v2.12.5 (#3109)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update dependency prettier to v2.3.2 (#3110)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update dependency typedoc to v0.21.2 (#3111)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update dependency @types/babel__traverse to v7.14.0 (#3112)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update jest monorepo to v27.0.6 (#3115)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    Remove Subscriber and use only Executor (#3117)
    
    * Remove Subscriber and use only Executor
    
    * Fix introspectSchema
    
    * Fix tests
    
    * Cleanup
    
    fix(deps): update dependency ws to v7.5.1 (#3118)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    enhance(url-loader): refactor
    
    Fix rawSDL issue
    
    enhance(delegate): skip validation by default and add validateRequest option to enable
    
    chore(deps): update dependency typescript to v4.3.5 (#3122)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    fix(file-loader): location path must be normalized (#3121)
    
    chore(deps): update dependency husky to v7 (#3123)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    feat(graphql-tag-pluck): keep locationOffset and return graphql-js Source instead of string
    
    chore(deps): update dependency @vue/compiler-sfc to v3.1.3 (#3125)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update dependency @vue/compiler-sfc to v3.1.4 (#3126)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    fix(deps): update dependency @types/websocket to v1.0.3 (#3129)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update dependency @types/ws to v7.4.6 (#3128)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update dependency eslint to v7.30.0 (#3130)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    fix(deps): update dependency ws to v7.5.2 (#3131)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    fix(url-loader): fix node support for EventSource
    
    feat(resolvers-composition): add support for glob patterns (#3132)
    
    * feat(resolvers-composition): add support for glob patterns
    
    * fix(resolvers-composition): add typings for micromatch
    
    * feat(resolvers-composition): add unit tests for glob patterns
    
    * chore(resolver-compositions): cleanup
    
    * feat(docs): added samples for resolver composition path matcher format
    
    * chore: added changeset
    
    * fix(docs): typo
    
    * fix(changeset): change patch to minor
    
    * Fix tests and cleanup
    
    Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
    
    chore(deps): pin dependency @types/micromatch to 4.0.1 (#3133)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    chore(deps): update dependency nock to v13.1.1 (#3134)
    
    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    
    don't throw on errors that should not be relocated (#3136)
    
    refactor: internal StitchingInfo properties (#3137)
    
    to never be undefined
    
    docs update
    
    docs update after review
    
    Some fixes
    
    update tgc version
    alinsimoc authored and ardatan committed Jul 28, 2021
    Copy the full SHA
    803db66 View commit details
  3. fix(delegate): fix ESM import

    ardatan committed Jul 28, 2021
    Copy the full SHA
    c36defb View commit details
  4. Update changesets

    ardatan committed Jul 28, 2021
    Copy the full SHA
    4a81ff7 View commit details
  5. chore(release): update monorepo packages versions (#3241)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Jul 28, 2021
    Copy the full SHA
    0736446 View commit details
  6. Try to build website again

    ardatan committed Jul 28, 2021
    1
    Copy the full SHA
    a9e6cd1 View commit details
  7. trigger vercel check

    dotansimha committed Jul 28, 2021
    Copy the full SHA
    368156c View commit details
  8. Copy the full SHA
    d93945f View commit details
  9. Copy the full SHA
    5622431 View commit details
  10. chore(release): update monorepo packages versions (#3247)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Jul 28, 2021
    1
    Copy the full SHA
    eee7697 View commit details
  11. chore(deps): pin dependencies (#3239)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jul 28, 2021
    1
    Copy the full SHA
    cef9ef7 View commit details
  12. bump missing prisma loader

    dotansimha committed Jul 28, 2021
    1
    Copy the full SHA
    1c039fd View commit details
  13. chore(release): update monorepo packages versions (#3253)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Jul 28, 2021
    1
    Copy the full SHA
    4553744 View commit details
  14. fix(deps): pin dependencies (#3240)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jul 28, 2021
    1
    Copy the full SHA
    fc41413 View commit details
  15. fix(deps): pin dependencies (#3242)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jul 28, 2021
    1
    Copy the full SHA
    9ec39ab View commit details
  16. fix(deps): pin dependencies (#3248)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jul 28, 2021
    1
    Copy the full SHA
    f113282 View commit details
  17. fix(deps): pin dependencies (#3243)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jul 28, 2021
    1
    Copy the full SHA
    8a64b6c View commit details
  18. fix(deps): pin dependency @mdx-js/react to 1.6.22 (#3249)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jul 28, 2021
    1
    Copy the full SHA
    2f129d7 View commit details
  19. fix(deps): update dependency @guild-docs/client to v0.2.20 (#3258)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jul 28, 2021
    1
    Copy the full SHA
    61bbffe View commit details
  20. chore(deps): update dependency @types/concurrently to v6.2.1 (#3251)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jul 28, 2021
    1
    Copy the full SHA
    0fd789a View commit details
  21. Removes ts-is-defined dependency from @graphql-tools/mock. (#3260)

    * Removes ts-is-defined dependency.
    
    * Adds changeset.
    
    * Simplify assertion.
    ctbarna authored Jul 28, 2021
    Copy the full SHA
    e7b78fd View commit details
  22. chore(deps): update dependency @types/mdx-js__react to v1.5.4 (#3252)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jul 28, 2021
    Copy the full SHA
    dbf92a4 View commit details
  23. fix(deps): update dependency @theguild/components to v1.4.7 (#3261)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jul 28, 2021
    Copy the full SHA
    8e123e4 View commit details
  24. chore(release): update monorepo packages versions (#3263)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Jul 28, 2021
    1
    Copy the full SHA
    01c8458 View commit details
  25. chore(deps): update dependency esbuild to v0.12.16 (#3256)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jul 28, 2021
    Copy the full SHA
    2a9e68e View commit details
  26. fix(deps): update chakra-ui monorepo (#3257)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jul 28, 2021
    1
    Copy the full SHA
    f1076b5 View commit details
  27. Copy the full SHA
    e1fbc79 View commit details
  28. fix(deps): update dependency ws to v8 (#3265)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jul 28, 2021
    Copy the full SHA
    13f83fb View commit details
  29. chore(deps): update dependency wait-on to v6 (#3264)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jul 28, 2021
    Copy the full SHA
    35ff619 View commit details
  30. fix(deps): update dependency prism-themes to v1.8.0 (#3262)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jul 28, 2021
    Copy the full SHA
    ba61408 View commit details
  31. chore(deps): update dependency @types/react to v17.0.15 (#3254)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jul 28, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    654f575 View commit details
  32. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b823dba View commit details
  33. chore(release): update monorepo packages versions (#3266)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Jul 28, 2021
    1

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ecce05f View commit details
  34. fix(deps): update dependency @guild-docs/server to v0.2.22 (#3259)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jul 28, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    be4f67a View commit details
Showing with 4,004 additions and 5,651 deletions.
  1. +6 −3 .github/workflows/website.yml
  2. +3 −0 .gitignore
  3. +4 −3 README.md
  4. +23 −0 benchmark/federation/CHANGELOG.md
  5. +3 −3 benchmark/federation/package.json
  6. +1 −0 package.json
  7. +23 −0 packages/batch-delegate/CHANGELOG.md
  8. +3 −2 packages/batch-delegate/README.md
  9. +5 −5 packages/batch-delegate/package.json
  10. +7 −0 packages/batch-execute/CHANGELOG.md
  11. +3 −2 packages/batch-execute/README.md
  12. +2 −2 packages/batch-execute/package.json
  13. +21 −0 packages/delegate/CHANGELOG.md
  14. +2 −1 packages/delegate/README.md
  15. +4 −4 packages/delegate/package.json
  16. +1 −1 packages/delegate/src/mergeFields.ts
  17. +3 −3 packages/delegate/src/prepareGatewayDocument.ts
  18. +7 −0 packages/graphql-tag-pluck/CHANGELOG.md
  19. +2 −2 packages/graphql-tag-pluck/package.json
  20. +23 −0 packages/links/CHANGELOG.md
  21. +3 −3 packages/links/package.json
  22. +8 −0 packages/load/CHANGELOG.md
  23. +3 −3 packages/load/package.json
  24. +7 −0 packages/loaders/apollo-engine/CHANGELOG.md
  25. +2 −2 packages/loaders/apollo-engine/package.json
  26. +8 −0 packages/loaders/code-file/CHANGELOG.md
  27. +3 −3 packages/loaders/code-file/package.json
  28. +8 −0 packages/loaders/git/CHANGELOG.md
  29. +3 −3 packages/loaders/git/package.json
  30. +8 −0 packages/loaders/github/CHANGELOG.md
  31. +3 −3 packages/loaders/github/package.json
  32. +7 −0 packages/loaders/graphql-file/CHANGELOG.md
  33. +2 −2 packages/loaders/graphql-file/package.json
  34. +7 −0 packages/loaders/json-file/CHANGELOG.md
  35. +2 −2 packages/loaders/json-file/package.json
  36. +7 −0 packages/loaders/module/CHANGELOG.md
  37. +2 −2 packages/loaders/module/package.json
  38. +20 −0 packages/loaders/prisma/CHANGELOG.md
  39. +3 −3 packages/loaders/prisma/package.json
  40. +26 −0 packages/loaders/url/CHANGELOG.md
  41. +5 −5 packages/loaders/url/package.json
  42. +8 −0 packages/merge/CHANGELOG.md
  43. +3 −3 packages/merge/package.json
  44. +15 −0 packages/mock/CHANGELOG.md
  45. +4 −5 packages/mock/package.json
  46. +10 −1 packages/mock/src/MockStore.ts
  47. +9 −0 packages/node-require/CHANGELOG.md
  48. +4 −4 packages/node-require/package.json
  49. +7 −0 packages/relay-operation-optimizer/CHANGELOG.md
  50. +2 −2 packages/relay-operation-optimizer/package.json
  51. +7 −0 packages/resolvers-composition/CHANGELOG.md
  52. +2 −2 packages/resolvers-composition/package.json
  53. +8 −0 packages/schema/CHANGELOG.md
  54. +3 −3 packages/schema/package.json
  55. +31 −0 packages/stitch/CHANGELOG.md
  56. +3 −2 packages/stitch/README.md
  57. +7 −7 packages/stitch/package.json
  58. +23 −0 packages/stitching-directives/CHANGELOG.md
  59. +3 −2 packages/stitching-directives/README.md
  60. +4 −4 packages/stitching-directives/package.json
  61. +6 −0 packages/utils/CHANGELOG.md
  62. +1 −1 packages/utils/package.json
  63. +1 −0 packages/utils/src/AggregateError.ts
  64. +24 −0 packages/wrap/CHANGELOG.md
  65. +4 −4 packages/wrap/package.json
  66. +42 −28 scripts/build-api-docs.js
  67. +3 −2 scripts/typedoc-theme/theme.js
  68. +0 −26 website/.gitignore
  69. +0 −42 website/README.md
  70. 0 website/docs/{connectors.md → connectors.mdx}
  71. 0 website/docs/{documents-loading.md → documents-loading.mdx}
  72. +21 −15 website/docs/{generate-schema.md → generate-schema.mdx}
  73. 0 website/docs/{graphql-tag-pluck.md → graphql-tag-pluck.mdx}
  74. 0 website/docs/{introduction.md → introduction.mdx}
  75. +0 −9 website/docs/merge-resolvers.md
  76. +0 −9 website/docs/merge-schemas.md
  77. +0 −9 website/docs/merge-typedefs.md
  78. 0 website/docs/{migration-from-import.md → migration/migration-from-import.mdx}
  79. 0 ...cs/{migration-from-merge-graphql-schemas.md → migration/migration-from-merge-graphql-schemas.mdx}
  80. 0 website/docs/{migration-from-toolkit.md → migration/migration-from-toolkit.mdx}
  81. 0 website/docs/{migration-from-tools.md → migration/migration-from-tools.mdx}
  82. 0 website/docs/{mocking.md → mocking.mdx}
  83. 0 website/docs/{relay-operation-optimizer.md → relay-operation-optimizer.mdx}
  84. +1 −1 website/docs/{remote-schemas.md → remote-schemas.mdx}
  85. +39 −39 website/docs/{resolvers-composition.md → resolvers-composition.mdx}
  86. 0 website/docs/{resolvers.md → resolvers.mdx}
  87. 0 website/docs/{scalars.md → scalars.mdx}
  88. +2 −2 website/docs/{schema-delegation.md → schema-delegation.mdx}
  89. 0 website/docs/{schema-directives.md → schema-directives.mdx}
  90. +0 −161 website/docs/schema-loading.md
  91. +160 −3 website/docs/{loaders.md → schema-loading.mdx}
  92. +1 −1 website/docs/{schema-merging.md → schema-merging.mdx}
  93. +7 −7 website/docs/{schema-stitching.md → schema-stitching.mdx}
  94. +7 −8 website/docs/{stitch-combining-schemas.md → schema-stitching/stitch-1-combining-schemas.mdx}
  95. +10 −10 website/docs/{stitch-type-merging.md → schema-stitching/stitch-2-type-merging.mdx}
  96. +6 −6 website/docs/{stitch-directives-sdl.md → schema-stitching/stitch-3-directives-sdl.mdx}
  97. +4 −4 website/docs/{stitch-schema-extensions.md → schema-stitching/stitch-4-schema-extensions.mdx}
  98. +7 −7 website/docs/{stitch-api.md → schema-stitching/stitch-5-api.mdx}
  99. +2 −2 website/docs/{federation-to-stitching-sdl.md → schema-stitching/stitch-6-federation.mdx}
  100. +2 −2 website/docs/{schema-wrapping.md → schema-wrapping.mdx}
  101. 0 website/docs/{server-setup.md → server-setup.mdx}
  102. +0 −59 website/docusaurus.config.js
  103. +3 −0 website/next-env.d.ts
  104. +6 −0 website/next-i18next.config.js
  105. +25 −0 website/next.config.js
  106. +43 −20 website/package.json
  107. 0 website/{static → public}/CNAME
  108. BIN website/{static/img → public/assets}/distributed-graph.png
  109. BIN website/{static/img → public/assets}/graphiql-test.png
  110. BIN website/{static/img → public/assets}/stitching-flow.png
  111. BIN website/{static/img → public}/favicon.ico
  112. +3 −0 website/public/locales/en/common.json
  113. +19 −0 website/public/style.css
  114. +43 −0 website/routes.ts
  115. +0 −46 website/sidebars.js
  116. +0 −55 website/src/css/custom.css
  117. +175 −0 website/src/pages/_app.tsx
  118. +22 −0 website/src/pages/_document.tsx
  119. +37 −0 website/src/pages/docs/[[...slug]].tsx
  120. +0 −96 website/src/pages/index.js
  121. +43 −0 website/src/pages/index.tsx
  122. +0 −89 website/src/pages/styles.module.css
  123. +0 −25 website/src/theme/Root.js
  124. BIN website/static/img/banner.gif
  125. +0 −105 website/static/img/flask.svg
  126. +0 −71 website/static/img/graphql.svg
  127. BIN website/static/img/logo.png
  128. +0 −75 website/static/img/needle.svg
  129. +19 −0 website/tsconfig.json
  130. +2,780 −4,515 yarn.lock
9 changes: 6 additions & 3 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -39,7 +39,10 @@ jobs:
run: node scripts/install-typedocs-typescript-version.js
- name: Install Dependencies using Yarn
run: yarn install --ignore-engines && git checkout yarn.lock
- name: Build Website
run: cd website/ && yarn build && yarn export && touch out/.nojekyll
- name: Deploy 🚀
run: yarn deploy:website
env:
GIT_USER: theguild-bot
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: gh-pages # The branch the action should deploy to.
folder: website/out # The folder the action should deploy.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -77,3 +77,6 @@ junit.xml

package-lock.json
website/yarn.lock
website/api-sidebar.json
website/docs/api
website/out
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -13,15 +13,16 @@ This package provides a few useful ways to create a GraphQL schema:

1. Use the GraphQL schema language to [generate a schema](https://graphql-tools.com/docs/generate-schema) with full support for resolvers, interfaces, unions, and custom scalars. The schema produced is completely compatible with [GraphQL.js](https://github.com/graphql/graphql-js).
2. [Mock your GraphQL API](https://graphql-tools.com/docs/mocking) with fine-grained per-type mocking
3. Automatically [stitch multiple schemas together](https://graphql-tools.com/docs/stitch-combining-schemas) into one larger API
3. Automatically [stitch multiple schemas together](https://www.graphql-tools.com/docs/schema-stitching/stitch-1-combining-schemas
) into one larger API

## Documentation

[Read the docs.](https://graphql-tools.com/docs/introduction)

## Binding to HTTP

If you want to bind your JavaScript GraphQL schema to an HTTP server, you can use [`express-graphql`](https://github.com/graphql/express-graphql).
If you want to bind your JavaScript GraphQL schema to an HTTP server, you can use [`express-graphql`](https://github.com/graphql/express-graphql) .

You can develop your JavaScript based GraphQL API with `graphql-tools` and `express-graphql` together: One to write the schema and resolver code, and the other to connect it to a web server.

@@ -133,7 +134,7 @@ app.listen(4000);
console.log('Running a GraphQL API server at http://localhost:4000/graphql');
```

This example has the entire type definition in one string and all resolvers in one file, but you can combine types and resolvers from multiple files and objects, as documented in the [modularizing type definitions](https://graphql-tools.com/docs/merge-typedefs) and [merging resolvers](https://graphql-tools.com/docs/merge-resolvers) section of the docs.
This example has the entire type definition in one string and all resolvers in one file, but you can combine types and resolvers from multiple files and objects, as documented in the [modularizing type definitions](https://graphql-tools.com/docs/schema-merging#merging-type-definitions) and [merging resolvers](https://graphql-tools.com/docs/schema-merging#merging-resolvers) section of the docs.

## Contributions

23 changes: 23 additions & 0 deletions benchmark/federation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
# federation-benchmark

## 0.0.4

### Patch Changes

- @graphql-tools/stitch@8.0.3
- @graphql-tools/stitching-directives@2.0.3

## 0.0.3

### Patch Changes

- @graphql-tools/stitch@8.0.2
- @graphql-tools/stitching-directives@2.0.2

## 0.0.2

### Patch Changes

- Updated dependencies [c36defbe]
- @graphql-tools/stitch@8.0.1
- @graphql-tools/stitching-directives@2.0.1

## 0.0.1

### Patch Changes

- Updated dependencies [91155ab6]
6 changes: 3 additions & 3 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.1",
"version": "0.0.4",
"private": true,
"scripts": {
"start": "cross-env NODE_ENV=production node index.js",
@@ -11,8 +11,8 @@
"dependencies": {
"@apollo/gateway": "0.34.0",
"@apollo/federation": "0.27.0",
"@graphql-tools/stitch": "8.0.0",
"@graphql-tools/stitching-directives": "2.0.0",
"@graphql-tools/stitch": "8.0.3",
"@graphql-tools/stitching-directives": "2.0.3",
"express": "4.17.1",
"graphql": "15.5.1",
"graphql-tag": "2.12.5",
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -97,6 +97,7 @@
},
"resolutions": {
"graphql": "15.5.1",
"esbuild": "^0.12.8",
"@changesets/apply-release-plan": "5.0.0"
}
}
23 changes: 23 additions & 0 deletions packages/batch-delegate/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# @graphql-tools/batch-delegate

## 8.0.3

### Patch Changes

- Updated dependencies [b823dbaf]
- @graphql-tools/utils@8.0.1
- @graphql-tools/delegate@8.0.3

## 8.0.2

### Patch Changes

- Updated dependencies [d93945fa]
- @graphql-tools/delegate@8.0.2

## 8.0.1

### Patch Changes

- c36defbe: fix(delegate): fix ESM import
- Updated dependencies [c36defbe]
- @graphql-tools/delegate@8.0.1

## 8.0.0

### Major Changes
5 changes: 3 additions & 2 deletions packages/batch-delegate/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Check API Reference for more information about this package;
https://www.graphql-tools.com/docs/api/modules/batch-delegate
https://www.graphql-tools.com/docs/api/modules/batch_delegate_src

You can also learn more about Batch Delegation in this chapter;
https://www.graphql-tools.com/docs/stitch-schema-extensions#batch-delegation
https://www.graphql-tools.com/docs/schema-stitching/stitch-4-schema-extensions
#batch-delegation
10 changes: 5 additions & 5 deletions packages/batch-delegate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/batch-delegate",
"version": "8.0.0",
"version": "8.0.3",
"description": "A set of utils for faster development of GraphQL tools",
"repository": {
"type": "git",
@@ -32,14 +32,14 @@
"input": "./src/index.ts"
},
"dependencies": {
"@graphql-tools/delegate": "^8.0.0",
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/delegate": "8.0.3",
"@graphql-tools/utils": "8.0.1",
"dataloader": "2.0.0",
"tslib": "~2.3.0"
},
"devDependencies": {
"@graphql-tools/schema": "^8.0.0",
"@graphql-tools/stitch": "^8.0.0"
"@graphql-tools/schema": "^8.0.1",
"@graphql-tools/stitch": "^8.0.3"
},
"publishConfig": {
"access": "public",
7 changes: 7 additions & 0 deletions packages/batch-execute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @graphql-tools/batch-execute

## 8.0.1

### Patch Changes

- Updated dependencies [b823dbaf]
- @graphql-tools/utils@8.0.1

## 8.0.0

### Major Changes
5 changes: 3 additions & 2 deletions packages/batch-execute/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Check API Reference for more information about this package;
https://www.graphql-tools.com/docs/api/modules/batch-execute
https://www.graphql-tools.com/docs/api/modules/batch_execute_src

You can also learn more about Batch Delegation in this chapter;
https://www.graphql-tools.com/docs/stitch-schema-extensions#batch-delegation
https://www.graphql-tools.com/docs/schema-stitching/stitch-4-schema-extensions#batch-delegation

4 changes: 2 additions & 2 deletions packages/batch-execute/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/batch-execute",
"version": "8.0.0",
"version": "8.0.1",
"description": "A set of utils for faster development of GraphQL tools",
"repository": {
"type": "git",
@@ -32,7 +32,7 @@
"input": "./src/index.ts"
},
"dependencies": {
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.1",
"dataloader": "2.0.0",
"tslib": "~2.3.0",
"value-or-promise": "1.0.10"
21 changes: 21 additions & 0 deletions packages/delegate/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# @graphql-tools/delegate

## 8.0.3

### Patch Changes

- Updated dependencies [b823dbaf]
- @graphql-tools/utils@8.0.1
- @graphql-tools/batch-execute@8.0.1
- @graphql-tools/schema@8.0.1

## 8.0.2

### Patch Changes

- d93945fa: fix(delegate): ignore if stitchingInfo is not in extensions

## 8.0.1

### Patch Changes

- c36defbe: fix(delegate): fix ESM import

## 8.0.0

### Major Changes
3 changes: 2 additions & 1 deletion packages/delegate/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Check API Reference for more information about this package;
https://www.graphql-tools.com/docs/api/modules/delegate
https://www.graphql-tools.com/docs/api/modules/delegate_src

You can also learn more about Schema Delegation in this chapter;
https://www.graphql-tools.com/docs/schema-delegation


8 changes: 4 additions & 4 deletions packages/delegate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/delegate",
"version": "8.0.0",
"version": "8.0.3",
"description": "A set of utils for faster development of GraphQL tools",
"repository": {
"type": "git",
@@ -32,9 +32,9 @@
"input": "./src/index.ts"
},
"dependencies": {
"@graphql-tools/batch-execute": "^8.0.0",
"@graphql-tools/schema": "^8.0.0",
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/batch-execute": "^8.0.1",
"@graphql-tools/schema": "^8.0.1",
"@graphql-tools/utils": "8.0.1",
"dataloader": "2.0.0",
"tslib": "~2.3.0",
"value-or-promise": "1.0.10"
2 changes: 1 addition & 1 deletion packages/delegate/src/mergeFields.ts
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ import {
import { ExternalObject, MergedTypeInfo, SubschemaConfig } from './types';
import { memoize4, memoize3, memoize2 } from './memoize';
import { Subschema } from './Subschema';
import { collectFields, ExecutionContext } from 'graphql/execution/execute';
import { collectFields, ExecutionContext } from 'graphql/execution/execute.js';
import { relocatedError } from '@graphql-tools/utils';
import { FIELD_SUBSCHEMA_MAP_SYMBOL, OBJECT_SUBSCHEMA_SYMBOL, UNPATHED_ERRORS_SYMBOL } from './symbols';

6 changes: 3 additions & 3 deletions packages/delegate/src/prepareGatewayDocument.ts
Original file line number Diff line number Diff line change
@@ -336,9 +336,9 @@ const getSchemaMetaData = memoize2(
possibleTypesMap,
reversePossibleTypesMap: reversePossibleTypesMap(possibleTypesMap),
interfaceExtensionsMap,
fieldNodesByType: sourceSchema.extensions?.['stitchingInfo'].fieldNodesByType ?? {},
fieldNodesByField: sourceSchema.extensions?.['stitchingInfo'].fieldNodesByField ?? {},
dynamicSelectionSetsByField: sourceSchema.extensions?.['stitchingInfo'].dynamicSelectionSetsByField ?? {},
fieldNodesByType: sourceSchema.extensions?.['stitchingInfo']?.fieldNodesByType ?? {},
fieldNodesByField: sourceSchema.extensions?.['stitchingInfo']?.fieldNodesByField ?? {},
dynamicSelectionSetsByField: sourceSchema.extensions?.['stitchingInfo']?.dynamicSelectionSetsByField ?? {},
};
}
);
7 changes: 7 additions & 0 deletions packages/graphql-tag-pluck/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @graphql-tools/graphql-tag-pluck

## 7.0.1

### Patch Changes

- Updated dependencies [b823dbaf]
- @graphql-tools/utils@8.0.1

## 7.0.0

### Major Changes
4 changes: 2 additions & 2 deletions packages/graphql-tag-pluck/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/graphql-tag-pluck",
"version": "7.0.0",
"version": "7.0.1",
"description": "Pluck graphql-tag template literals",
"license": "MIT",
"repository": {
@@ -32,7 +32,7 @@
"@babel/parser": "7.14.8",
"@babel/traverse": "7.14.8",
"@babel/types": "7.14.8",
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.1",
"tslib": "~2.3.0"
},
"devDependencies": {
23 changes: 23 additions & 0 deletions packages/links/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# @graphql-tools/links

## 8.0.3

### Patch Changes

- Updated dependencies [b823dbaf]
- @graphql-tools/utils@8.0.1
- @graphql-tools/delegate@8.0.3

## 8.0.2

### Patch Changes

- Updated dependencies [d93945fa]
- @graphql-tools/delegate@8.0.2

## 8.0.1

### Patch Changes

- c36defbe: fix(delegate): fix ESM import
- Updated dependencies [c36defbe]
- @graphql-tools/delegate@8.0.1

## 8.0.0

### Major Changes
6 changes: 3 additions & 3 deletions packages/links/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/links",
"version": "8.0.0",
"version": "8.0.3",
"description": "A set of utils for faster development of GraphQL tools",
"repository": {
"type": "git",
@@ -45,8 +45,8 @@
"graphql-upload": "12.0.0"
},
"dependencies": {
"@graphql-tools/delegate": "^8.0.0",
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/delegate": "8.0.3",
"@graphql-tools/utils": "8.0.1",
"apollo-upload-client": "16.0.0",
"cross-fetch": "3.1.4",
"form-data": "4.0.0",
8 changes: 8 additions & 0 deletions packages/load/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @graphql-tools/load

## 7.0.1

### Patch Changes

- Updated dependencies [b823dbaf]
- @graphql-tools/utils@8.0.1
- @graphql-tools/merge@6.2.16

## 7.0.0

### Major Changes
6 changes: 3 additions & 3 deletions packages/load/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/load",
"version": "7.0.0",
"version": "7.0.1",
"description": "A set of utils for faster development of GraphQL tools",
"repository": {
"type": "git",
@@ -34,8 +34,8 @@
"graphql-type-json": "0.3.2"
},
"dependencies": {
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/merge": "^6.2.15",
"@graphql-tools/utils": "8.0.1",
"@graphql-tools/merge": "^6.2.16",
"import-from": "4.0.0",
"p-limit": "3.1.0",
"tslib": "~2.3.0"
Loading