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
Type 'import("/Users/vladislavbotvin/Projects/bla-bla/node_modules/apollo-server-express/dist/ApolloServer").ApolloServer' is not assignable to type'import("/Users/vladislavbotvin/Projects/bla-bla/node_modules/apollo-server-integration-testing/node_modules/apollo-server-express/dist/ApolloServer").ApolloServer'.
The types returned by 'createGraphQLServerOptions(...)' are incompatible between these types.
Type 'Promise<import("/Users/vladislavbotvin/Projects/bla-bla/node_modules/apollo-server-express/node_modules/apollo-server-core/dist/graphqlOptions").GraphQLServerOptions<Record<string, any>, any>>' is not assignable to type'Promise<import("/Users/vladislavbotvin/Projects/bla-bla/node_modules/apollo-server-core/dist/graphqlOptions").GraphQLServerOptions<Record<string, any>, any>>'.
Type 'import("/Users/vladislavbotvin/Projects/bla-bla/node_modules/apollo-server-express/node_modules/apollo-server-core/dist/graphqlOptions").GraphQLServerOptions<Record<string, any>, any>' is not assignable to type'import("/Users/vladislavbotvin/Projects/bla-bla/node_modules/apollo-server-core/dist/graphqlOptions").GraphQLServerOptions<Record<string, any>, any>'.
Types of property 'executor' are incompatible.
Type 'import("/Users/vladislavbotvin/Projects/bla-bla/node_modules/apollo-server-express/node_modules/apollo-server-types/dist/index").GraphQLExecutor<Record<string, any>> | undefined' is not assignable to type'import("/Users/vladislavbotvin/Projects/bla-bla/node_modules/apollo-server-types/dist/index").GraphQLExecutor<Record<string, any>> | undefined'.
Type 'import("/Users/vladislavbotvin/Projects/bla-bla/node_modules/apollo-server-express/node_modules/apollo-server-types/dist/index").GraphQLExecutor<Record<string, any>>' is not assignable to type'import("/Users/vladislavbotvin/Projects/bla-bla/node_modules/apollo-server-types/dist/index").GraphQLExecutor<Record<string, any>>'.
Types of parameters 'requestContext' and 'requestContext' are incompatible.
Type 'WithRequired<GraphQLRequestContext<Record<string, any>>, "queryHash" | "document" | "operation" | "operationName">' is not assignable to type'GraphQLRequestContextExecutionDidStart<Record<string, any>>'.
Property 'logger' is missing intype'GraphQLRequestContext<Record<string, any>> & Required<Pick<GraphQLRequestContext<Record<string, any>>, "queryHash" | "document" | "operation" | "operationName">>' but required intype'GraphQLRequestContext<Record<string, any>>'.ts(2322)
index.d.ts(51, 5): 'logger' is declared here.
index.d.ts(9, 5): The expected type comes from property 'apolloServer' which is declared here on type'TestClientConfig'
2.11.0 version fine
The text was updated successfully, but these errors were encountered:
@darky thanks for the report. Feel free to open a pull request to fix this. We haven't updated to apollo-server-express 2.12.0 internally yet so I won't be able to prioritize this right now.
If a PR is not possible, then a repository where it can be reproduced would be great 👍 thanks!
2.11.0 version fine
The text was updated successfully, but these errors were encountered: