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 we batch-delegate a request, error paths use their index in the batched result rather than in the original result. #### To Reproduce Construct a query...
The ResolversComposerMapping type is severely limited when attaching resolvers as nested properties `property.field`. It doesn't take custom resolvers and also doesn't check if the nested object path exists. There's also...
For a graphql query declared like this: ``` user( order_by: [user_order_by!] ): [user!]! ``` If I Print (using graphql-js) the result of `buildOperationsNodeForField`, it's is returning something like this: ```...
Stitching does not currently allow for multiple key formats distributed across services, for example: - **Catalog:** `Product @key(selectionSet: "{ upc }") ... @merge(keyField: "upc")` - **Vendor:** `Product @key(selectionSet: "{ id...
``` // server.js const server = new ApolloServer({ ... mockEntireSchema: false, }); // schema.gql type User { id: ObjectId username: String nickname: String } // mocks.js export default { User(){...
I'm working on a tool that shows a visual diff between two GraphQL schemas (e.g the previous and current versions of the same schema). Added fields are marked in green...
Is it currently possible to use transformSchema to map enum field names? I was hoping that RenameObjectFields was generic to allow this, but I doesn't seem to be. Alternatively, I...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [chalk](https://togithub.com/chalk/chalk) | [`^4.1.0` -> `^5.0.0`](https://renovatebot.com/diffs/npm/chalk/4.1.2/5.1.2) | [](https://docs.renovatebot.com/merge-confidence/)...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@theguild/components](https://togithub.com/the-guild-org/the-guild-components) | [`4.1.6` -> `4.2.3`](https://renovatebot.com/diffs/npm/@theguild%2fcomponents/4.1.6/4.2.3) | [](https://docs.renovatebot.com/merge-confidence/)...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [typedoc](https://typedoc.org) ([source](https://togithub.com/TypeStrong/TypeDoc)) | [`0.23.15` -> `0.23.16`](https://renovatebot.com/diffs/npm/typedoc/0.23.15/0.23.16) |...