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
subscriptionOnCategoryUpdate($id: ID!){
onCategoryUpdate(id: $id){
category{
title
}
}
}
How the API Gateway works in GraphQL
One API Gateway that talks to multiple graphql apis and then it does the API
calls for me.
For example, I have user microservices and a post microservices, and I make a
request for the user the post microservices will query both.
On the FE however, this is transparent. If you work with FE there are clients
who deal with GraphQL
GraphQL does the three steps on the go without having to worry
data fetching
data normalization
storage in a temporary store
Now All I have to do is:
display on the FE
Data Class
Built in class Decorator that is a data container aka a class that only holds data