Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: Fix generate-types syntax (#7832)
This change fixes the typescript error in the example of splitting resolvers in multiple files. The `books` and `addBooks` must no be wrapped with a `Queries` or `Mutation` object. Wrong (screenshot taken from the official docs) ![image](https://github.com/apollographql/apollo-server/assets/17274950/8b002200-0c72-4556-b696-3b5956cc730a) Correct without `Queries` parent key (extracted from the working exampled linked at the end of the markdown file) ![image](https://github.com/apollographql/apollo-server/assets/17274950/6e9d167f-9215-4baf-8821-ceda407680e4)
- Loading branch information