graphql-tools
graphql-tools copied to clipboard
:wrench: Utility library for GraphQL to build, stitch and mock GraphQL schemas in the SDL-first approach
**Describe the bug** When using the stitching directives transformer with a transform that changes the type name the merge configs are created under the old type name rather than the...
**Describe the bug** **To Reproduce** I set requireResolversForResolveType: 'ignore', then get this warning Type "QueryResponse" is missing a "__resolveType" resolver.  **Expected behavior** **Environment:** -...
Upgrading an old Apollo client/server setup to use graphql-tools exclusively, BatchHttpLink queries fail with "POST body sent invalid JSON" (network error) and "POST http://localhost:4000/graphql 400 (Bad Request) batchHttpLink.ts:132" (on the...
When running in serverless environments like AWS Lambda the startup time of the application is of unusual importance. It is valuable to move as much startup operation into the build...
**Describe the bug** Can't import the named export XXXX from non EcmaScript module (only default export is available)(https://stackoverflow.com/questions/69343038/cant-import-the-named-export-xxxx-from-non-ecmascript-module-only-default-expo) **Expected behaviour** Run without errors **Environment:** - OS: Ubuntu 20.04 - `@graphql-tools/`:...
**Describe the bug** When using `addMocksToSchema()` and providing a store, I expect this store and this store only to be used. Instead, in some cases the default `mockStore` created by...
**Is your feature request related to a problem? Please describe.** Arrays produce unpredictable results when a mock is not explicitly provided. **Describe the solution you'd like** When arrays are not...
**Is your feature request related to a problem? Please describe.** guild-website has a nice script for verifying broken links **Describe the solution you'd like** - add the same script as...
**Describe the bug** I am using `stitchSchemas` to proxy to a remote QGL API while at the same time adding a new field to one of the types. When my...
**Describe the bug** Using transforms with stitched schemas seems to skip adding the `selectionSet` after the first nesting, e.g. using terminology from the documentation examples `user => posts` works but...