Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
493: Simplify construction of MeilisearchClient in DI r=ahmednfwela a=ahmednfwela # Pull Request ## Related issue Fixes part of #481, which is the inability to use `.AddHttpMessageHandler<MeilisearchMessageHandler>()` ## What does this PR do? - Adds default constructor for `MeilisearchMessageHandler` - Refactor `MeilisearchClient` constructors to call one another, instead of redefining the logic in both. ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Ahmed Fwela <[email protected]> Co-authored-by: Ahmed Fwela <[email protected]>
- Loading branch information