Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to apollo server v4 #573

Open
magicmark opened this issue Mar 27, 2023 · 0 comments 路 May be fixed by #574
Open

Migrate to apollo server v4 #573

magicmark opened this issue Mar 27, 2023 · 0 comments 路 May be fixed by #574

Comments

@magicmark
Copy link

magicmark commented Mar 27, 2023

馃憢 thanks for this project! looks like we're still using apollo server v3 - making a tracking ticket to update to v4.

Providing this stack trace so it hopefully shows up for folks googling it:

Unexpected error processing request: TypeError: Cannot read property 'getSpanByPath' of undefined

  at internalExecuteOperation (node_modules/@apollo/server/src/ApolloServer.ts:1304:19)
  at runHttpQuery (node_modules/@apollo/server/src/runHttpQuery.ts:232:27)
  at runPotentiallyBatchedHttpQuery (node_modules/@apollo/server/src/httpBatching.ts:85:12)
  at ApolloServer.executeHTTPGraphQLRequest (node_modules/@apollo/server/src/ApolloServer.ts:1058:14)

(^ this is because apollo server renames s/context/contextValue/ https://www.apollographql.com/docs/apollo-server/migration/#fields-on-graphqlrequestcontext)

@magicmark magicmark linked a pull request Mar 28, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant