extend schema
@link(
url: "https://specs.apollo.dev/federation/v2.6",
import: ["@key", "@shareable", "@policy"])
type B @key(fields: "id") {
id: ID!
foo: String @shareable @policy(policies: [["scope:1", "scope:2"], ["yolo"]])
}
type A @key(fields: "id") {
id: ID!
names: String! @shareable @policy(policies: [["read:profiles", "read:profiles2", "read:others"]])
}