Comments (1)
You have multiple parameter names named "limit" so the generated client query has to rename some of them to distinguish between them. I'm not sure why the resulting client query looks like this though, perhaps typeASort
(which you haven't provided here) also has a limit
variable?
In any case: try to change the name of the first limit
parameter in queryA, the one you want to mutate with the middleware, to something else (use a unique string) and see if you can access it by its original name from the middleware as expected.
from graphql2rest.
Related Issues (19)
- Error determining logic needs improvement HOT 1
- Hangs on large schema? HOT 2
- Passing query params into gql HOT 7
- Rest API document HOT 3
- Split test module into smaller modules HOT 1
- Add types file for logger integration
- filterResponse() and attachCustomError() assume data/error format and might fail on different format
- Add GitHub action: publish npm package
- Add GitHub actions: continuous integration HOT 2
- Feature Request: Add support for GraphQL subscriptions
- Feature Request: add support for OpenAPI/Swagger auto-generation HOT 6
- Field Filtering Is Done After Object Is Returned HOT 3
- Query parameters don't get converted to appropriate GraphQL types HOT 6
- Generate only relevant gql files HOT 1
- TypeError: field.type.inspect is not a function HOT 9
- formatError on ApolloServer not being applied in graphql2rest HOT 1
- Is this repo being maintained? HOT 4
- code chage to make middlewaresFile a middlewaresModule (optionally) instead HOT 1
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 graphql2rest.