Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Update the Query with the new method customerByLoyaltyId and update graphQl queries

    image-20240521-201830.png

     

  • Create a new method customerByLoyaltyId inside the Query resolvers section (with the same signature and name of query above)

    • This method should get all the user permissions, and based on this, make requests for each country that this user can access. All this requests, like a promise to be made in parallel

      image-20240521-200957.pngImage Modified
      • To get the User from Loyalty service, will be necessary update this method to override the header x-region

      image-20240522-191903.pngImage Modified

queries/customers

Create a new query inside the customers queries

...