This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks for your interest in helping make Apollo Client better! | |
Feature requests and non-bug related discussions are no longer managed in this repo. Feature requests should be opened in https://github.com/apollographql/apollo-feature-requests. | |
i can find into the Office Doc how use more then one endpoint | |
here is my solution on Apollo react client | |
` const firstLink = new HttpLink({ | |
uri: 'graphql-postgre', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const response = await client.query({ | |
data: `mutation { | |
productCreate(input : { title: "gql product from app meta 33 "} ) | |
{ | |
product{id, description, mediaCount} | |
userErrors { | |
field | |
message | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alert("js loaded ") |