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
Introducing a more flexible and powerful API for application developers to use the GIG more efficiently. There are limitations when it comes to complex queries which require multiple calls to gather the information and also compute aggregation operations to obtain the required response. This is a cumbersome process which needs to be streamlined. In terms of one or two applications using REST API would work as the requirements could be narrowed down to a greater context since there is knowledge about each application. But when extending this application development for third-party users, the API developers should be able to provide a more flexible and efficient API.
Goals
Develop an initial version of an API catering to flexible application development.
Using REST APIs where it is necessary though do the necessary migration for complex queries
Using GraphQL API in OrgChart
Non Goals
Replacing every REST API call with GraphQL (doesn't imply 100% conversion later, though choose what is suitable).
Writing a new specification for GIG which can abstract away a layer on top of GraphQL API.
Motivation
GIG allows users to query information via a REST API. However, this has limitations when it comes to executing complex queries, which would either be over/under fetching. In developing various applications, we may have to rely on more complex queries than we see in the OrgChart App. Such queries are hard to represent using a REST API [1]. A better approach must be implemented to provide better performance and improve usability so that third-party developers can develop applications quite effectively.
As a solution, turning into the GraphQL API usage provides far more flexibility in terms of executing complex queries. This requires adding a server to resolve complex queries as that is one of the most fundamental parts of using GraphQL when consuming multiple data sources like various databases and third-party resources [2].
Description
Introducing a more flexible and powerful API for application developers to use the GIG more efficiently. There are limitations when it comes to complex queries which require multiple calls to gather the information and also compute aggregation operations to obtain the required response. This is a cumbersome process which needs to be streamlined. In terms of one or two applications using REST API would work as the requirements could be narrowed down to a greater context since there is knowledge about each application. But when extending this application development for third-party users, the API developers should be able to provide a more flexible and efficient API.
Goals
Non Goals
Motivation
GIG allows users to query information via a REST API. However, this has limitations when it comes to executing complex queries, which would either be over/under fetching. In developing various applications, we may have to rely on more complex queries than we see in the OrgChart App. Such queries are hard to represent using a REST API [1]. A better approach must be implemented to provide better performance and improve usability so that third-party developers can develop applications quite effectively.
As a solution, turning into the GraphQL API usage provides far more flexibility in terms of executing complex queries. This requires adding a server to resolve complex queries as that is one of the most fundamental parts of using GraphQL when consuming multiple data sources like various databases and third-party resources [2].
Sub Tasks
Success Metrics
Testing
TBD
Assumptions
References
The text was updated successfully, but these errors were encountered: