-
Notifications
You must be signed in to change notification settings - Fork 193
Closed
Labels
awaiting investigationThe issue has been assigned to a team member for investigation.The issue has been assigned to a team member for investigation.bugSomething isn't workingSomething isn't workinginternally-reviewedThe issue has been reviewed internally.The issue has been reviewed internally.
Description
Component(s)
composition
Component version
latest
wgc version
0.57.7
controlplane version
latest
router version
latest
What happened?
Hi,
when trying to compose 2 subgraphs:
subgraph #1
type Mutation {
impersonate(...): Mutation
}
subgraph #2
type Book {
id: ID!
}
type Mutation {
upsertBook(..): Book
}
The composition fails complaining that we should either transform the Mutation type to an Entity with an @key field or declaring @Shareable impersonate in the 2 subgraphs (we can't do this)
I assume that it is a issue related to Root types, the composition succeeds in Apollo graph os
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Package Manager: pnpm, npm, yarn, etc
Compiler(if manually compiled): (e.g., "go 14.2")
Router configuration
No response
Router execution config
No response
Log output
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
awaiting investigationThe issue has been assigned to a team member for investigation.The issue has been assigned to a team member for investigation.bugSomething isn't workingSomething isn't workinginternally-reviewedThe issue has been reviewed internally.The issue has been reviewed internally.