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
A few of the very basic queries already supported in the OrgChart v1 are as follows.
Retrieve ministers of a particular moment in time
Retrieve departments associated with ministers of a particular moment in time
Retrieve a particular department and see under which ministers it was held in the past
But the user should be able to query the following as well
Retrieve a minister who has managed a particular department in combination with another department in a particular period.
Retrieve the department and find out which ministers have managed it during a set of non-consecutive time ranges.
When such queries need to be executed, more filters are required meaning the query gets complex. REST API usage is not practical for such cases. This should be able to resolve by adopting the GraphQL API.
Goals
Enable complex query specification for a single API call
Determine a pool of such queries and define a specification that could cover more ground for future queries.
Non Goals
Replace REST API usage in the project 100%
Writing a production-ready solution.
Motivation
Provide powerful APIs for application development not just for the applications developed in-house, but also for the applications developed by third-party developers.
Success Metrics
Ability to run queries planned in OrgChart 2.0
Efficiency over existing REST API calls on complex queries
Reduce compute time on the frontend
Ability to pushdown filters and pre-processing logic from the front end to the backend. (This rather not loading all data to memory and doing pre-processing, rather pushing down at the reading time and only picking relevant records such that memory usage is optimal. Very useful for large queries)
Testing
TBD
Assumptions
GraphQL can provide better performance for complex queries
Complex queries will be widely used by the application developers using GIG.
The text was updated successfully, but these errors were encountered:
Description
OrgChart App contains a diverse range of queries.
A few of the very basic queries already supported in the OrgChart v1 are as follows.
But the user should be able to query the following as well
When such queries need to be executed, more filters are required meaning the query gets complex. REST API usage is not practical for such cases. This should be able to resolve by adopting the GraphQL API.
Goals
Non Goals
Motivation
Provide powerful APIs for application development not just for the applications developed in-house, but also for the applications developed by third-party developers.
Success Metrics
Testing
TBD
Assumptions
The text was updated successfully, but these errors were encountered: