'Graphql - get data from multiple sources
With the Graphql, how can we get the data from the different sources. Here is my table/model
Employee{
name,
deptId
}
I require the department details, such as the department name, when I query an employee. However, the department is in another microservice that is exposed via restservice. How can we achieve this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|