-
Notifications
You must be signed in to change notification settings - Fork 61
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
Exposing graphql request? #64
Comments
This is impossible at this moment. Open a new issue at express-graphql: graphql/express-graphql#113 Relative issue: #6 |
@pyros2097 have u figure it out how to do this? @chentsulin is there any workaround for now? like logging POST data |
Nope... I thought of doing a fork but then lost interest since it gets cumbersome to maintain it and add it as a dependency. |
@sibelius Sorry, but there is no workaround for this now. I can add a custom logger here: https://github.com/chentsulin/koa-graphql/blob/master/src/index.js#L159, but I prefer waiting for @leebyron 's feedback in graphql/express-graphql#113 . |
Yep! |
tks |
I know that you can access the request object when you initiate the middleware but is it possible for me to get the graphql request's info also so that I can log it,
example:
Right now when I make a post request, I don't know what requests are hitting my server?
The text was updated successfully, but these errors were encountered: