-
-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] FeathersJS + Apollo Server 2.0 #929
Comments
The order when it is called matters and has to happen before the |
There is a chance that |
It did not help |
I would test if a standard Express application with a similar const app = express();
// Apollo server setup here
server.applyMiddleware({ app });
app.use(function (req, res, next) {
next(new Error('Not found'));
}); Has the same issue. |
if set I think the problem is here: |
and then
|
That actually looks like a bug in the Apollo server. In Express |
Closing since it wasn't a Feathers issue and has been fixed in Apollo via apollographql/apollo-server#1436 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue with a link to this issue for related bugs. |
Hey. As you know, recently, the apollo server was updated to version 2.0.
How to use it with current version of feathers?
I generated a new custom service and put next code.
graphql.service.js
When I try to use
/graphql
path in browser, I get this errormessage=Page not found, type=FeathersError, name=NotFound, code=404, className=not-found, url=/graphql, , stack=NotFound: Page not found
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
How to resolve it? Thanks.
The text was updated successfully, but these errors were encountered: