GraphQL in 3 minutes - GraphQL Series - Part 1

Поделиться
HTML-код
  • Опубликовано: 28 авг 2024

Комментарии • 6

  • @bryantony9836
    @bryantony9836 2 месяца назад

    Bro your channels should be bigger.

  • @konan6191
    @konan6191 2 месяца назад

    I'm halfway through the video, but if the API is making dB queries to return data, why not make individual endpoints to make more specific requests, like getPostTitles
    instead of getting all posts then extracting titles

    • @alagbaladamilola
      @alagbaladamilola  2 месяца назад

      Good question, whilst that is a work around, it does not tally with Rest standards and it is not a scalable solution. Bear in mind that the API system will usually not serve mobile clients alone, it’s usually serving other clients as well. I hope that makes sense!

    • @konan6191
      @konan6191 2 месяца назад +1

      @@alagbaladamilola yeah it does, I had a close minded approach thinking about serving only one client's specific needs

    • @konan6191
      @konan6191 2 месяца назад +1

      thanks for clarifying, waiting on part 2