Comments (5)
Yes, you are correct! I pushed v0.6.3
with this, sorry for prematurely closing the issue.
from nest-next.
Thank you for that example, it was extremely helpful. I just released v0.6.1
with a fix for your bug. Let me know if you have any other issues!
from nest-next.
This is pretty interesting... I get the request and response from nest by calling ctx.getArgs()
but this is saying that your request is undefined (which I didn't know is possible).
Would you provide me with a minimal reproducible example?
from nest-next.
Of course... Here is the example:
https://github.com/renehauck/nest-next-render-error
Just start, open the page "http://localhost:3000/graphql" and execute the query
{
Hello
}
Normally the error "Ups" should appear, but instead the error "Cannot read property 'raw' of undefined" is thrown again.
from nest-next.
ok, the ".raw"-error is gone, but now I don't get any more errors which are thrown in the resolvers.
if (response && request) {
const requestHandler = this.service.getRequestHandler();
const errorRenderer = this.service.getErrorRenderer();
....
return errorRenderer(err, req, res, pathname, query);
}
}
else throw err;
^^^^^^^^^^^^^^^^
I think there's an "else throw err;" missing at the end, right?
from nest-next.
Related Issues (20)
- got a lot of 404 error HOT 1
- Next "catch all routes" does not work HOT 1
- When using generate staticPaths, staticProps and then use it to get page - it always says 404. Only works for fallback: 'blocking' HOT 5
- Make an npx starter
- next.server.dynamicRoutes.map is a TypeError HOT 7
- Next basePath configuration support
- Cannot destructure property 'inAmpMode' HOT 6
- path.normalize doesn't works on windows HOT 3
- Cannot render page with path "\index", did you mean "/\index"? HOT 5
- How to shallow render with next useRouter hooks? HOT 1
- Next.js 12 hmr HOT 3
- Inject Dynamic url parameter into template HOT 5
- How to set next.config and how to use less HOT 1
- Not able to reach nest endpoints. HOT 1
- Module-wide type error (Fix included) HOT 3
- Usage with Next@13 HOT 8
- Nest routing issue with nested pages HOT 15
- nest-next test suite HOT 1
- Standalone Nest application HOT 1
- res.setHeader is not a function When i add new FastifyAdapter() HOT 10
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 nest-next.