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
At least with some versions of graphql@16, there's a build error
$ tsc
node_modules/@apollo/federation-internals/dist/error.d.ts:1:33 - error TS2305: Module '"graphql"' has no exported member 'GraphQLErrorOptions'.
1 import { ASTNode, GraphQLError, GraphQLErrorOptions, GraphQLFormattedError } from "graphql";
~~~~~~~~~~~~~~~~~~~
Found 1 error in node_modules/@apollo/federation-internals/dist/error.d.ts:1
benweatherman
changed the title
GraphQLErrorOptions not supported by graphql@^16.0.0
GraphQLErrorOptions not supported by graphql@^16.0.0 in 2.1.0-alpha.1 or higher
Aug 8, 2022
benweatherman
changed the title
GraphQLErrorOptions not supported by graphql@^16.0.0 in 2.1.0-alpha.1 or higher
GraphQLErrorOptions not supported by graphql < 16.5 in 2.1.0-alpha.1 or higher
Aug 8, 2022
At least with some versions of
graphql@16
, there's a build errorThis was introduced with an error cleanup #1914.
GraphQLErrorOptions
was introduced ingraphql@16.5.0
https://github.com/graphql/graphql-js/releases/tag/v16.5.0This was happening with
graphql@16.3.0
. Updating tographql@16.5.0
fixes it.The text was updated successfully, but these errors were encountered: