Transport options
| Option | Default | Meaning |
|---|---|---|
url | ${baseUrl}/graphql | the endpoint |
method | "POST" | "GET" sends queries as ?query=… (CDN-cacheable). Mutations always POST. |
errorPolicy | "none" | default for endpoints that do not declare one |
onPartialErrors | — | required to see errors under errorPolicy: "all" |
headers | — | extra headers on every GraphQL request |
License
MIT