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 |
Not supported
Subscriptions (use @tahanabavi/typesocket), @defer /
@stream, persisted queries, and file uploads via the multipart spec.