Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ApiClient::with_client #227

Merged
merged 1 commit into from
Apr 6, 2024
Merged

Conversation

gadomski
Copy link
Member

@gadomski gadomski commented Apr 6, 2024

Closes

Description

Adds a with_client method to allow setting up an ApiClient with custom behavior.

Checklist

  • Unit tests
  • Documentation, including doctests
  • Git history is linear
  • Commit messages are descriptive
  • (optional) Git commit messages follow conventional commits
  • Code is formatted (cargo fmt)
  • cargo test
  • Changes are added to the CHANGELOG

@gadomski gadomski self-assigned this Apr 6, 2024
@gadomski gadomski force-pushed the issues/219-custom-client-for-api-calls branch from 1827dd3 to df99ee3 Compare April 6, 2024 16:12
@gadomski gadomski enabled auto-merge (rebase) April 6, 2024 16:13
@gadomski gadomski merged commit acf16c7 into main Apr 6, 2024
7 checks passed
@gadomski gadomski deleted the issues/219-custom-client-for-api-calls branch April 6, 2024 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow constructing a ApiClient from a user-supplied Client
1 participant