Apollo Server GraphQL Resolvers for Beginners

Sdílet
Vložit
  • čas přidán 4. 03. 2022
  • Enjoying my videos? Sign up for more content here: www.coopercodes.com/
    📩 Join codeLetter by Cooper Codes, the 3 minute tech newsletter: thecodeletter.com
    Interested in a 1:1 Mentorship with me? Jumpstart your career at www.rebrand.ly/coopercodesmen...
    In this video I show the basic setup of an Apollo Server resolver, explaining how the entire process works from type definitions to the resolvers themselves. This is a great video for anyone confused by the Apollo Server documentation and wants to see a practical example of resolvers in action!
  • Věda a technologie

Komentáře • 12

  • @soltiscd
    @soltiscd Před 2 lety +1

    Glad I found your channel. Much potential! I hope you have more apollo react content coming.

    • @CooperCodes
      @CooperCodes  Před 2 lety +1

      So glad to see the content resonating with others! More apollo content to come, working on full projects with apollo / react so hopefully those will be helpful!

  • @lunachu6669
    @lunachu6669 Před 2 lety

    Im glad i found it.. please make a video about context.. passing token/user to resolvers :)

  • @saschacontes2305
    @saschacontes2305 Před rokem

    Great introduction. Thank you. What about when you want to combine multiple data sources?

  • @rawrbearmedia1426
    @rawrbearmedia1426 Před rokem

    Great video, not sure why I didn't see this before on your channel. I noticed you mentioned going over resolver chains but you didn't cover it, is that in a different video?

  • @lysmuch394
    @lysmuch394 Před rokem

    9:05 that backticks making my code orange like " " and its not working, what should i do?

  • @bryanzawlocki
    @bryanzawlocki Před rokem

    been looking for a great break down of resolvers for a few days now, this is by far the best. Curious tho, a resolver for each and every type/query seems very antithetical to DRY practices. Could you not just have 1 resolver that resolves based on the query parameters? Or is their segmentation more beneficial in the sense of separating concerns?

  • @Victor-wh9bs
    @Victor-wh9bs Před 2 lety

    Thankuuu 🔥

  • @badboygoodgirl
    @badboygoodgirl Před rokem

    Thx 🎉❤

  • @purduetom90
    @purduetom90 Před rokem

    Nice video! Question… i realize it’s just a name but why name a query with a verb that sounds like a mutation? That’s confusing.

    • @CooperCodes
      @CooperCodes  Před rokem

      That is confusing, my bad. I’ll make an effort to avoid similar confusions in future tutorials. Thanks for the comment