-
Notifications
You must be signed in to change notification settings - Fork 23
Description
I am trying to use the new v0.2 connectors specification in VS Code. I have followed the directions specified in Version Requirements - Apollo GraphQL Docs and Apollo Connectors Changelog - Apollo GraphQL Docs.
When I add the specification for federation v2.11 for the @key
directive in the schema as shown below, the extension displays an error indicating that the @key
directive cannot be found.
extend schema
@link(
url: "https://specs.apollo.dev/federation/v2.11",
import: ["@key"]
)

When I change the specification to v2.10 then the error goes away.
I suspect this is an issue with the extension and not the documentation because when I run these connectors with rover, I do not get any errors and the query completes successfully respecting the entity definition.
I have tried the extension on both Linux and Windows machines and get the same error in both.