fix(spanner): ExcludeTransactionFromChangeStreamsOption not always propagated by scotthart · Pull Request #15372 · googleapis/google-cloud-cpp
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the knowledge that bool() == false, save yourself a second lookup by removing the has().
That said, this should have been taken care of by line 571, so methinks there is actually some call to transaction.cc:MakeOpts() missing, or falling short of the mark, when creating options.