-
Notifications
You must be signed in to change notification settings - Fork 287
Enable dyn dispatch by dyn Config objects #383
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
Conversation
This is nice! Can you please add short/concise (one or two sentences) documentation for it to be discoverable - in README and lib.rs (for docs.rs) after byot documentation? |
OK, done |
One of things that this feature must work for is dynamic dispatch same API call to multiple providers concurrently (via tokio::spawn ) - requiring I have suggested the corresponding test - please let me know if that looks good or if there are any concerns now that |
Co-authored-by: Himanshu Neema <[email protected]>
Co-authored-by: Himanshu Neema <[email protected]>
Co-authored-by: Himanshu Neema <[email protected]>
Co-authored-by: Himanshu Neema <[email protected]>
Co-authored-by: Himanshu Neema <[email protected]>
Co-authored-by: Himanshu Neema <[email protected]>
Co-authored-by: Himanshu Neema <[email protected]>
Looks good to me. Thanks! I think |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
* enable dynamic dispatch * update README with dyn dispatch example * add doc for dyn dispatch * Update test Co-authored-by: Himanshu Neema <[email protected]> * Update Config bound Co-authored-by: Himanshu Neema <[email protected]> * remove Rc impl Co-authored-by: Himanshu Neema <[email protected]> * Fix typo Co-authored-by: Himanshu Neema <[email protected]> * Fix typo Co-authored-by: Himanshu Neema <[email protected]> * Update doc Co-authored-by: Himanshu Neema <[email protected]> * Update README Co-authored-by: Himanshu Neema <[email protected]> --------- Co-authored-by: Himanshu Neema <[email protected]> (cherry picked from commit 9b3ecda)
This should supersede #125, solving #106. Different from #125, this is not a breaking change.