-
This is the guide I am following https://www.apollographql.com/blog/email-password-authentication-with-accounts-js-and-apollo-server/ I got the the Protecting our query part but when I put @auth in my typedefs it complains that it doesn't know about it. The guide doesn't seem to even consider that this might happen. I must be missing something obvious please help acount.js looks realy nice but this is blocking me completly. My code:
How do I get to use @auth in my own shema? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Like this the code you are using looks good, is it only the IDE showing this error or do you also have it during at runtime? |
Beta Was this translation helpful? Give feedback.
Like this the code you are using looks good, is it only the IDE showing this error or do you also have it during at runtime?