academind / yt-graphql-react-event-booking-api

Code for GraphQL + React Event Booking API Series: https://academind.com/learn/node-js/graphql-with-node-react-full-app/
395 stars 302 forks source link

cannot access req inside resolver #10

Open patrikmolnar opened 5 years ago

patrikmolnar commented 5 years ago

Hi,

I have a problem accessing req inside my resolvers. If I try to log it I get this:

{ _extensionStack: GraphQLExtensionStack { extensions: [ [CacheControlExtension] ] } }

I'm using apollo-server-express