You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've never worked with GraphQL before and I'm trying to understand how distributed schemas actually work.
Let's say you have two schemas in two different services:
Author
{
Id
Name
}
Reviews
{
AuthorId
Body
}
How does a query like this work: "bring me authors and their reviews, filter author names starting with an A". Does it first filter authors first and query reviews one by one or does it somehow work like a SQL table join or something else?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've never worked with GraphQL before and I'm trying to understand how distributed schemas actually work.
Let's say you have two schemas in two different services:
How does a query like this work: "bring me authors and their reviews, filter author names starting with an A". Does it first filter authors first and query reviews one by one or does it somehow work like a SQL table join or something else?
Beta Was this translation helpful? Give feedback.
All reactions