The HTML returned when using the middleware (in my case express) fails to run properly in the browser, and gets stuck on "Loading..." due to various issues. It works when downgrading to version 1.3.0
First it complains about the await keyword, which is used in a non-async function and only for response.json() and not the fetch() itself. After fixing these issues it complains that GraphQLVoyager.init() is not a function
The HTML returned when using the middleware (in my case express) fails to run properly in the browser, and gets stuck on "Loading..." due to various issues. It works when downgrading to version 1.3.0
First it complains about the
await
keyword, which is used in a non-async function and only forresponse.json()
and not the fetch() itself. After fixing these issues it complains that GraphQLVoyager.init() is not a function