Check out the different folders to see how entity batching works with Connectors.
During the preview, the following steps are required to try new features:
- Update the
@link
directives to point tofederation/v2.11
andconnect/v0.2
:extend schema @link(url: "https://specs.apollo.dev/federation/v2.11") @link(url: "https://specs.apollo.dev/connect/v0.2", import: ["@source", "@connect"])
- Opt into the preview with this router YAML configuration:
connectors: preview_connect_v0_2: true
- Use Router v2.2.0-preview.0
export APOLLO_ROVER_DEV_ROUTER_VERSION=2.2.0-preview.0 rover dev
- Use Federation 2.11.0-preview.0 for composition:
The code in this repository is experimental and has been provided for reference purposes only. Community feedback is welcome but this project may not be supported in the same way that repositories in the official Apollo GraphQL GitHub organization are. If you need help you can file an issue on this repository, contact Apollo to talk to an expert, or create a ticket directly in Apollo Studio.