picosam
03/15/2018, 3:45 PMgraphql-yoga 1.6.0
Iām suddenly getting this when starting the server:
Error: SchemaDirectiveVisitor for @isAuthenticated must implement visitQuery method
at /Users/Sammy/Projects/mblt-gql/node_modules/graphql-yoga/node_modules/graphql-tools/src/schemaVisitor.ts:650:17
at /Users/Sammy/Projects/mblt-gql/node_modules/graphql-yoga/node_modules/graphql-tools/src/schemaVisitor.ts:692:5
at Array.forEach (<anonymous>)
at each (/Users/Sammy/Projects/mblt-gql/node_modules/graphql-yoga/node_modules/graphql-tools/src/schemaVisitor.ts:691:30)
at /Users/Sammy/Projects/mblt-gql/node_modules/graphql-yoga/node_modules/graphql-tools/src/schemaVisitor.ts:643:7
at /Users/Sammy/Projects/mblt-gql/node_modules/graphql-yoga/node_modules/graphql-tools/src/schemaVisitor.ts:692:5
at Array.forEach (<anonymous>)
at each (/Users/Sammy/Projects/mblt-gql/node_modules/graphql-yoga/node_modules/graphql-tools/src/schemaVisitor.ts:691:30)
at Function.SchemaDirectiveVisitor.getDeclaredDirectives (/Users/Sammy/Projects/mblt-gql/node_modules/graphql-yoga/node_modules/graphql-tools/src/schemaVisitor.ts:633:5)
at Function.SchemaDirectiveVisitor.visitSchemaDirectives (/Users/Sammy/Projects/mblt-gql/node_modules/graphql-yoga/node_modules/graphql-tools/src/schemaVisitor.ts:523:12)
[nodemon] app crashed - waiting for file changes before starting...
Was there a breaking change documented somewhere?max
03/15/2018, 9:13 PMpicosam
03/15/2018, 9:16 PM