Federated query scenario #2259
jgilroy-cat
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Subgraph A
Camera {
angles : [Angle!]! -- Federated entity
}
type Angle @extends @key(fields: "id", resolvable: false) {
id: ID!
}
Subgraph B
Angle {
id : string!
name : string:
}
Assume that there are 3 angles associated with Camera.
Subgraph A collects the 3 ID's of the angle
Subgraph B
findManymethod is invoked with 3 ID's, due to permissions Subgraph B returns only 2.The query will fail since angle is mandatory.
Is there a workaround for this scenario
Beta Was this translation helpful? Give feedback.
All reactions