Apollo Workbench is a VS Code extension that helps you design and reason about your organization's graph without writing any server code.
Currently, Workbench is especially useful for working on federated graphs. Whether you're creating a new graph or making changes to an existing one, Workbench helps you understand how your graph composes throughout the design process.
Quickly create a new design and start adding subgraphs:
After authenticating Workbench with Apollo Studio, you can create local Workbench designs that are based on any Studio graph you have access to:
As soon as you have a design that successfully composes, you can view its supergraph and API schemas:
These schemas update as you make changes to your subgraph schemas.
Workbench provides intelligent code completion to help you write operations against your design:
After authenticating Workbench with Apollo Studio, you can import operations that have been executed against any graph you have access to:
See Importing operations.
You can view the query plan that the gateway uses to route each GraphQL operation based on your subgraph schemas:
Your design must compose successfully to be able to view query plan details.
Any composition errors in your design are displayed in both the VS Code editor and the Problems panel. This helps you understand conflicts and resolve them before writing any server code for your subgraphs:
Ready to try it out? Continue to Setup.