Skip to content
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

fix: increase visibility of #get() #486

merged 1 commit into from Oct 6, 2020


Copy link

@olavloite olavloite commented Sep 30, 2020

Increases the visibility of AbstractLazyInitializer#get() to make it usable outside the client library.

Replaces #461.

@olavloite olavloite requested a review from elharo Sep 30, 2020
@olavloite olavloite requested review from as code owners Sep 30, 2020
@google-cla google-cla bot added the cla: yes label Sep 30, 2020
@thiagotnunes thiagotnunes added the kokoro:force-run label Oct 1, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run label Oct 1, 2020
@product-auto-label product-auto-label bot added the api: spanner label Oct 1, 2020
Copy link

@codecov codecov bot commented Oct 2, 2020

Codecov Report

Merging #486 into master will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #486   +/-   ##
  Coverage     82.20%   82.20%           
- Complexity     2466     2469    +3     
  Files           138      138           
  Lines         13631    13631           
  Branches       1312     1312           
+ Hits          11205    11206    +1     
  Misses         1896     1896           
+ Partials        530      529    -1     
Impacted Files Coverage Δ Complexity Δ
.../google/cloud/spanner/ 100.00% <ø> (+7.14%) 5.00 <0.00> (+1.00)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c13995f...b916df6. Read the comment docs.

@olavloite olavloite requested a review from thiagotnunes Oct 3, 2020
Copy link

@thiagotnunes thiagotnunes left a comment

LGTM, do we have to cut a major for this? @olavloite

Copy link
Contributor Author

@olavloite olavloite commented Oct 6, 2020

LGTM, do we have to cut a major for this? @olavloite

I would say no. This only adds visibility, so it should not break anything for anyone.

I would also like to reduce the visibility of the initialize method to protected, which would be a breaking change, but I would prefer to include that change with other breaking changes instead of having to cut a major release just for that.

elharo approved these changes Oct 6, 2020
@olavloite olavloite merged commit fa6d964 into master Oct 6, 2020
19 checks passed
@olavloite olavloite deleted the increase-visibility-lazyinit-get branch Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
api: spanner cla: yes
None yet

Successfully merging this pull request may close these issues.

None yet

4 participants