www.jannah.io
A Comprehensive Presentation on Jannah Middleware Application Part 7: GraphQL API Query Handlers Continues.
Video Highlights
We talked about pagination implementation for the workflows query as a proof of concept.
For each graphql API type, there is a corresponding handler to resolve it queries.
We defined the following query handlers (resolvers):
resolve_sites()
resolve_users()
resolve_boots()
resolve_networks()
resolve_storages()
resolve_computes()
resolve_uxs()
resolve_feedbacks()
resolve_workflows()
resolve_workflow()
These resolvers will make the actuall SQL calls to the database and fetch resulting data.
They will return the result to the frontend clients in a JSON format.