Network Client #1840
Unanswered
rpatel8del
asked this question in
Q&A
Network Client
#1840
Replies: 1 comment 1 reply
-
Yes, you can use .dependency(.apiClient, apiCLient) on the initial reducer to inject the version of the apiClient you would like. Then you can just conform ApiClient to TestDependencyKey since you dont need a live value. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Has anyone implemented a generic API client that can be injected in as a dependency value?
Beta Was this translation helpful? Give feedback.
All reactions