Handle GraphQL requests
After you define your GraphQL schema in an ApiDoc
resource, choose how to execute requests that match this schema.
- Proxy requests to existing GraphQL backends: Incorporate your existing GraphQL backends into your Gloo setup to leverage Gloo features. GraphQL requests are proxied to these existing GraphQL backends, while leveraging the security and resilience features of the proxy. These APIs can exist within your Gloo setup as services, or if they are external to your cluster, can be represented in your Gloo setup as an external service.
- Define resolvers: Use GraphQL services that are deployed locally to the clusters in your Gloo environment to resolve schema fields. This process involves mapping each GraphQL resolved field in your schema definition to resolver configuration.