Comments (2)
Thanks for the report, either the docs will be updated or this will be turned into a feature request. I'll do the latter if the task is easy, which I suspect it will be.
from graphql-request.
It is an overloaded function and does accept an options object. Check again, feel free to post into Q&A for help.
graphql-request/src/legacy/classes/GraphQLClient.ts
Lines 118 to 120 in 2ad3e80
from graphql-request.
Related Issues (20)
- jsonSerializer: fetchOptions.jsonSerializer ?? defaultJsonSerializer_js_1.defaultJsonSerializer, ^ SyntaxError: Invalid or unexpected token at Module._extensions..js (node:internal/modules/cjs/loader:1295:10) HOT 2
- generate from introspection query HOT 1
- Create separated npm package for CLI functionality HOT 8
- Please give feedback to the GraphQL JS WG HOT 2
- 7 doesnt work on nextjs HOT 4
- 7 broken on Expo/RN project HOT 1
- TypeScript doesn't recognize the types and fail v7 HOT 1
- Document the requirement of tooling support for package.exports HOT 8
- [7.0.1] broken types HOT 16
- Graffle helper functions
- Extension system
- TypedDocumentNode support
- Support GET requests
- Add support for NextJS revalidate/tags directly from request HOT 2
- investigate quality tools HOT 1
- Types broken in v7 HOT 2
- Extension that can retry a hook HOT 2
- Cannot find module 'graphql-request' or its corresponding type declarations. HOT 11
- Error: Could not convert argument of type symbol to string. HOT 1
- Spreading request headers object in middleware function doesn't work as per examples HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql-request.