{Change the implementation of command handler SendStoryHandler inside stories-service so it now fetches the user from users-service.
Make the usage of IHttpClient from Convey package. The following steps will guide you through the process:
- Register HTTP client using
AddHttpClient()method inExtensions.cs(infrastructure-layer) - Change the implementation of
UsersApiHttpClientso it now usesIHttpClientinjected into the ctor. Either hardcode the URL or make usage ofHttpClientOptions. - Change implementation of command handler so it now uses the API Client.
- Test the flow! Remember to have users-service ruuning.