yt-graphql-react-event-booking-api
yt-graphql-react-event-booking-api copied to clipboard
Code for GraphQL + React Event Booking API Series: https://academind.com/learn/node-js/graphql-with-node-react-full-app/
I am getting below error while adding new event. Uncaught TypeError: Cannot read properties of null (reading '_id')
Thanks a lot for the free course. Splitting up the [resolvers index.js from branch/video #6](https://github.com/academind/yt-graphql-react-event-booking-api/blob/06-finish-events-schema/graphql/resolvers/index.js), into folders like user.js and event.js causes a circular dependency, since users requires logic from...
Hi Max!, I have followed your guide and I am now implementing the subscription on my project thanks to your tutorial. But I'm struggling to find the same model you...
based on the documentation https://www.npmjs.com/package/express-graphql to solve the error: `TypeError: graphqlHTTP is not a function`
I use mongoo connection url Like ``` **mongoose .connect( `mongodb+srv://${process.env.MONGO_USER}:${ process.env.MONGO_PASSWORD }@cluster0.rsiaf.mongodb.net/${process.env.MONGO_DB}?retryWrites=true&w=majority&ssl=true` , { useNewUrlParser: true }) .then(() => { app.listen(3000); }) .catch(err => { console.log(err); });** ``` but alwes...
Hi, Is it possible that int he following code snippet, that your event will always be saved, even though the user ID is not found? I know that when you...
Actual Error: `Objects are not valid as a React child (found: object with keys {_id, title, description, date, price, creator}). If you meant to render a collection of children, use...
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...
Hii sir, i got error,also try to resolve but still it not unsolved bcz it shows fetching error, i also add CORS permission in main file but still it doesn't...