I got a use case where I need to replay a query, this needs to be done for repopulating all caches when there is an updated data.
or
Is there a way to call a query from inside the apollo graphql server?
You can store the incoming request - headers, body etc. in a variable and then when all the functions have finished executing, fire that same request using some axios/fetch to your own server.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.