kjetilge/prisma-auth0-vue

Getting error immediately regarding direct manipulation of the store

Opened this issue · 2 comments

Hi Kjetilge,

Got the server running, playground working etc, but on the client side I get this error immediately:

An error has occured for query 'feed':
Encountered a sub-selection on the query, but the store doesn't have an object reference. This should never happen during normal use unless you have custom code that is directly manipulating the store; please file an issue.

Then if I try to click drafts I get:
router.app.$auth.isAuthenticated is not a function

I also previously did the vue auth0 tutorial that you link to, but the part I'm really struggling with is the integration with prisma. Even though I can't get the app to work, your code is helping (slowly-but-surely) figure out how to plug it all together.

Any other insights or 'gotchas' you experienced along the way will be much appreciated.

Any luck ?

This repo is getting old now. It use to work, but now I guess the framework has been updated, and I've moved on to aws-amplify-vue: https://aws-amplify.github.io/docs/js/vue 🙈.
Surely someone has a better example by now somewhere ?