You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✔ Loading Apollo Project
✖ Generating query files with 'flow' target
→ Unknown directive "cacheControl".
GraphQLSchemaValidationError: Unknown directive "cacheControl".
at Object.buildSchemaFromSDL (~/dev/project/node_modules/apollo-graphql/lib/schema/buildSchemaFromSDL.js:38:15)
at FileSchemaProvider.resolveSchema (~/dev/project/node_modules/apollo-language-server/lib/providers/schema/file.js:24:40)
at GraphQLServiceProject.resolveSchema (~/dev/project/node_modules/apollo-language-server/lib/project/base.js:66:36)
at Task.task (~/dev/project/node_modules/apollo/lib/commands/client/codegen.js:53:54)
at Promise.resolve.then.then.skipped (~/dev/project/node_modules/listr/lib/task.js:167:30)```
When I try and generate flow types for my schema I get an error saying:
My cmd to generate looks like this.
It worked fine on version 1.9.2, but breaks on version 2.1.7.
The text was updated successfully, but these errors were encountered: