---
source: crates/graphql-composition/tests/composition_tests.rs
expression: "Check that `@link` imports are only valid for the subgraph that define the import. The import for the composite schemas spec `@key` should lead to `resolvable: false` only in the subgraph where it is imported."
input_file: crates/graphql-composition/tests/composition/link_import_scoping/test.md
---
type Product {
ab: String
code: String!
id: ID!
}
type Query {
productBatch(ids: [ID!]!): [Product!]
products: [Product!]!
}