BananaCakePop is a web-based GraphQL client and integrated development environment for composing, executing, and inspecting GraphQL operations. HotChocolate provides it with the GraphQL server setup, so API testing needs no separately installed client. section 10.2.4 section 10.2.3
Use BananaCakePop to verify the board-game GraphQL API:
- Launch the project in Debug mode and open https://localhost:40443/graphql. section 10.2.4
- Choose Create Document, confirm the default connection settings, and apply them to open an operations tab. section 10.2.4
- Write a query in Operations and select Run; inspect the returned data in Response. section 10.2.4
- Test related data in one request by selecting board-game properties alongside domain and mechanic information. section 10.2.4
- Exercise mutations and verify changes with a follow-up query. section 10.2.4
Query and inspect board games
Enter a query requesting boardGames ordered by ascending id with first: 3, selecting only id, name, and year. Running it returns three nodes containing only those requested fields, demonstrating GraphQL field selection without overfetching. section 10.2.4
Test an update mutation
Run an updateBoardGame mutation that changes board game 1 to “Die Macher (v2)”, then query the record by id and confirm the updated name in the response. section 10.2.4
Use the dashboard view to orient yourself among the document, connection, operations, and response controls. section 10.2.4
