Context creation failed: getUser is not a function


#1

Meteor + Apollo + GraphQL is working but I can have a working context because I get this error.

I followed the official tutorial https://www.apollographql.com/docs/apollo-server/features/authentication.html#context

  "error": {
    "errors": [
      {
        "message": "Context creation failed: getUser is not a function",
        "extensions": {
          "code": "INTERNAL_SERVER_ERROR",
          "exception": {
            "stacktrace": [
              "TypeError: Context creation failed: getUser is not a function",
              "    at ApolloServer.context (imports/startup/server/index.js:40:18)",

#2

Any solution for this?


#3

seeing this as well today