Does prerender work with thirdparty api?

Hi there!
I wonder, if it is possible to prerender a page in case API/DB has been disabled. I’m using thirdparty API for my website page and changed apiGraphQLUrl to another one in redwood.toml.
“yarn rw prerender --dry-run” command always results in “Couldn’t load your GraphQL handler”.

@danny and @Tobbe is a third party GraphQL api a use case for pre-render that we’ve considered?

No, that’s not something I’ve tried.

@makdeb Could you please write an issue about it? https://github.com/redwoodjs/redwood/issues
That would make it easier for us to track it, and others who also want that feature could come and give it a thumbs up.

Could you please write an issue about it?

Now it has been created: Issue

1 Like