How to inject HttpClient when using gen code from within a Library #2421
michaelwoelk
started this conversation in
General
Replies: 0 comments
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.
-
Hi!
I like to keep my repos organized, so I split all API SDKs into separate repos. For example, I might have
my-api-foo
andmy-api-bar
, each containing the Orval-generated code. When I use these in my main project, how can I pass an HTTP client without needing to provide it for every single hook?Beta Was this translation helpful? Give feedback.
All reactions