Apollo Router request to subgraph

Apollo Router request to subgraph


0

How can I make my apollo router make GET requests to subgraph instead of POST.
Based on my benchmark, GET outperforms POST. But it only happen between client & the router.
I want to improve the network performance by making GET requests from router to subgraph instead of POST.

federation_version: =2.0.1
subgraphs:

  product:
    method: GET
    routing_url: https://localhost:8081
    schema:
      file: ./subgraphs/product.graphql

Share
Improve this question


Load 4 more related questions


Show fewer related questions

0

Reset to default



Leave a Reply

Your email address will not be published. Required fields are marked *