Feature request: Retry request on fail
drewbaker opened this issue · 1 comments
drewbaker commented
I know that the point of GQL request is to be very simple, so maybe this is not within scope... but man I'd love retry to be built into this module!
Something like this:
graphql: {
clients: {
default: {
retry: {
attempts: 3,
delay: 1000
}
}
}
}
And when the request fails for any reason, it waits 1000 between each retry 3 times, before really failing.
The thing is, I actually really want these for some old Nuxt2 projects that fail SSG builds due to a slow-to-scale API.
Gomah commented
It's coming soon, currently in alpha: jasonkuhrt/graffle#878