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
graphql/graphql-js#1169 From graphql@^0.13.0 We separate multiple inherited interfaces with &. graphql-config@2.0.1 added support of graphql@^0.13.0 but this repository is still using graphql-config@^1.1.1 which makes it unable to read the new syntax e.g.
and we will get error like below when we use .graphqlconfig
Syntax Error: Cannot parse the unexpected character "&".
GraphQL request (435:28)
434:
435: type Image implements File & Node {
^
436: id: ID!
at syntaxError (/Users/kenng/.nvm/versions/node/v9.10.1/lib/node_modules/apollo-codegen/node_modules/graphql-config/node_modules/graphql/error/syntaxError.js:24:10)
at readToken (/Users/kenng/.nvm/versions/node/v9.10.1/lib/node_modules/apollo-codegen/node_modules/graphql-config/node_modules/graphql/language/lexer.js:316:32)
at Object.lookahead (/Users/kenng/.nvm/versions/node/v9.10.1/lib/node_modules/apollo-codegen/node_modules/graphql-config/node_modules/graphql/language/lexer.js:61:43)
at Object.advanceLexer [as advance] (/Users/kenng/.nvm/versions/node/v9.10.1/lib/node_modules/apollo-codegen/node_modules/graphql-config/node_modules/graphql/language/lexer.js:52:33)
at expect (/Users/kenng/.nvm/versions/node/v9.10.1/lib/node_modules/apollo-codegen/node_modules/graphql-config/node_modules/graphql/language/parser.js:1286:11)
at parseName (/Users/kenng/.nvm/versions/node/v9.10.1/lib/node_modules/apollo-codegen/node_modules/graphql-config/node_modules/graphql/language/parser.js:92:15)
at parseNamedType (/Users/kenng/.nvm/versions/node/v9.10.1/lib/node_modules/apollo-codegen/node_modules/graphql-config/node_modules/graphql/language/parser.js:630:11)
at parseImplementsInterfaces (/Users/kenng/.nvm/versions/node/v9.10.1/lib/node_modules/apollo-codegen/node_modules/graphql-config/node_modules/graphql/language/parser.js:777:18)
at parseObjectTypeDefinition (/Users/kenng/.nvm/versions/node/v9.10.1/lib/node_modules/apollo-codegen/node_modules/graphql-config/node_modules/graphql/language/parser.js:755:20)
at parseTypeSystemDefinition (/Users/kenng/.nvm/versions/node/v9.10.1/lib/node_modules/apollo-codegen/node_modules/graphql-config/node_modules/graphql/language/parser.js:663:16)
Please consider upgrading the graphqlconfig dependency to ^2.0.1 thanks.
The text was updated successfully, but these errors were encountered:
graphql/graphql-js#1169 From
graphql@^0.13.0
We separate multiple inherited interfaces with&
.graphql-config@2.0.1
added support ofgraphql@^0.13.0
but this repository is still usinggraphql-config@^1.1.1
which makes it unable to read the new syntax e.g.and we will get error like below when we use
.graphqlconfig
Please consider upgrading the
graphqlconfig
dependency to^2.0.1
thanks.The text was updated successfully, but these errors were encountered: