Skip to content

refactor!: Pass org invitation requests by value - #4551

Open
jvm986 wants to merge 2 commits into
google:masterfrom
jvm986:refactor-org-invitation-reques
Open

refactor!: Pass org invitation requests by value#4551
jvm986 wants to merge 2 commits into
google:masterfrom
jvm986:refactor-org-invitation-reques

Conversation

@jvm986

@jvm986 jvm986 commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

BREAKING CHANGE: OrganizationsService.CreateOrgInvitation now takes CreateOrgInvitationRequest (by value).

Rename CreateOrgInvitationOptions to CreateOrgInvitationRequest and pass it by value to OrganizationsService.CreateOrgInvitation.

Refs #3644

cc @JamBalaya56562 @ManavSharma142 @stevehipwell

Rename CreateOrgInvitationOptions to CreateOrgInvitationRequest and pass
it by value to OrganizationsService.CreateOrgInvitation. Update tests,
generated accessors, and lint exceptions.

Refs google#3644
@jvm986
jvm986 marked this pull request as ready for review September 14, 2026 05:36
@gmlewis gmlewis added NeedsReview PR is awaiting a review before merging. Breaking API Change PR will require a bump to the major version num in next release. Look here to see the change(s). labels Sep 14, 2026
@codecov

codecov Bot commented Sep 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.57%. Comparing base (440bc88) to head (6ab069b).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4551   +/-   ##
=======================================
  Coverage   98.57%   98.57%           
=======================================
  Files         197      197           
  Lines       18252    18252           
=======================================
  Hits        17991    17991           
  Misses        261      261           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gmlewis gmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @jvm986!
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.

cc: @stevehipwell - @Not-Dhananjay-Mishra

Comment thread .golangci.yml
- CommitsSearchResult.Commits
- CommitsSearchResult.Total
- CreateOrgInvitationOptions.TeamID # TODO: TeamIDs
- CreateOrgInvitationRequest.TeamID # TODO: TeamIDs

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also fix this, since we're already making a breaking API change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking API Change PR will require a bump to the major version num in next release. Look here to see the change(s). NeedsReview PR is awaiting a review before merging.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants