Hello, after upgrading to `graphql-yoga 1.6.0` I’m...
# prisma-whats-new
p
Hello, after upgrading to
graphql-yoga 1.6.0
I’m suddenly getting this when starting the server:
Copy code
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?
šŸ‘€ 1
m
@picosam Did you solve this?
p