Tested with Apollo 3.5.6 - that version and upgrades can break compatibility. Once we have that working then let's test any newer version which might be currently available.
npm i -D @apollo/[email protected] dotenv [email protected] graphql-tag node-fetch svelte-preprocess
.env.exmple
to .env
and add your endpoint and, for example, Hasura x-hasura-admin-secret
src/lib/utilities/apolloClient.js
and update line 26 for the right authorisation./patch-apollo-client.sh
src/routes/+page.server.js