Is there a way to get the aggregate response on the server before it gets sent back to the frontend?
I’ve attempted to pull this from the top level resolver query (waiting after it has grabbed the sub-graphs) but it doesn’t appear to actual populate the sub-graph objects (it only shows me the ID).
Is there a hook on the server side that allows me to retrieve the fully loaded query (aggregate) result before being sent back to the client?
I’d like to cache the final result in my memory store.
I’m new to GraphQL so my terminology could be off. Let me know so I can clarify. I can provide examples if needed.
Thanks!