extend schema
  @link(url: "https://specs.apollo.dev/federation/v2.10", import: ["@key"])
  @link(url: "https://specs.apollo.dev/connect/v0.2", import: ["@connect"])

type Query {
  product(id: ProductInput!): Product
    @connect(
      http: { GET: "http://myapi/products/{$args.id.id}" }
      selection: "id name"
      entity: true
    )
}

type Product {
  id: ID!
  name: String
}

input ProductInput {
  id: ID!
}
