The architecture of Federation

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2025

ความคิดเห็น • 2

  • @shaw0071
    @shaw0071 ปีที่แล้ว

    [NewBie] [time - 20:50] It seems odd that I am querying for reviews by me and if I want each review to also include 'name' then another call to account service is required. Can the federation itself correlate that it already received 'name' from accounts service and can now populate it for each review instead of making a network call ?

    • @ApolloGraphQL
      @ApolloGraphQL  ปีที่แล้ว

      Thanks for the question! Yes, check out our video on how to use the @key directive to avoid making another call th-cam.com/video/6Bj2ByOBRa4/w-d-xo.html