I am pretty new to graphql&Apollo. For making request to graphql server, we usually use http://localhost:4000/graphql given your backend graphql server is running on port 4000. But what if we want data from another graphql server, say a strapi CMS. How can we make connection using ApolloClient ?
The recommended way is to federate your CMS graph with your backend graph, or if you can’t do that, create a custom data source and plug it into your schema. But if you have to do it client-side, you can specify the client as an option in the useQuery hook, or use the split function.