-
Notifications
You must be signed in to change notification settings - Fork 398
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
Interceptor doesn't get all resolved properties #320
Comments
Unfortunately, this is something that we cannot change at the |
@jogelin I had a similar requirement - I have to perform a transformation on the final result before it is returned to the client. The way I did it is by using the Apollo Server However, this is being deprecated in favour of the new Apollo Server plugin system introduced in v2.2. It is currently undocumented, but you can see an open docs PR here, which gives you the idea of how to use it: apollographql/apollo-server#2008 Hope that helps! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'm submitting a...
Current behavior
I would like to be able to get resolved data. To put a
post script
when data are resolved.To do so, I tried use an interceptor on resolvers to get data that resolvers are sending back. But the interceptor only get data returned by the query method and not all data resolved by other
@ResolveProperty
methods...Expected behavior
I would like to receive the real data returned to the client and not only the data returned by the Query.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Be able to make an action after the resolvers are finishing there job !
Environment
Maybe related to: #295
Could be solved by: #263
The text was updated successfully, but these errors were encountered: