-
Notifications
You must be signed in to change notification settings - Fork 11
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
configure the inner client of either BigTableConnection or BigTable #96
configure the inner client of either BigTableConnection or BigTable #96
Conversation
@JorritSalverda Thank you for adding this feature. Do you mind rebasing onto current main and I will let the CI build run again? :) |
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.
Thanks, and greate with an example. I think it looks good after the build works (I think so if you rebase :) )
2712533
to
287615e
Compare
…o change settings like max_decoding_message_size
a0c911a
to
d7ecf5c
Compare
Hi @liufuyang , it's rebased from your latest changes in main now. |
/// Provide a convenient method to update the inner `BigtableClient` so a newly configured client can be set | ||
pub fn configure_inner_client( | ||
&mut self, | ||
config_fn: fn(BigtableClient<AuthSvc>) -> BigtableClient<AuthSvc>, |
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.
Oh, one more thing, is it possible to pass in a &mut here, so we do not need to do the clone below?
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.
Nevermind, maybe that clone is not avoidable? Haven't written Rust for a while so my Rust is a bit rusty...
In order to change settings like max_decoding_message_size
Solves #95