Skip to content

feat(internal): copy pubsub Message and PublishResult to internal/pubsub#3351

Merged
tmdiep merged 5 commits intogoogleapis:masterfrom
tmdiep:internal_pubsub
Dec 3, 2020
Merged

feat(internal): copy pubsub Message and PublishResult to internal/pubsub#3351
tmdiep merged 5 commits intogoogleapis:masterfrom
tmdiep:internal_pubsub

Conversation

@tmdiep
Copy link
Copy Markdown
Contributor

@tmdiep tmdiep commented Dec 3, 2020

Message and PublishResult will be used by the pubsub and pubsublite packages, which require access to internal fields that should not be made public. The decision was made not to alter the public API of the pubsub package and only allow packages under google-cloud-go to access new functions.

See discussion in the following for background: #3200 and #3231.

@tmdiep tmdiep requested a review from a team December 3, 2020 20:45
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Dec 3, 2020
@codyoss codyoss changed the title internal: copy pubsub Message and PublishResult to internal/pubsub feat(internal): copy pubsub Message and PublishResult to internal/pubsub Dec 3, 2020
@codyoss codyoss requested a review from hongalex December 3, 2020 21:22
@tmdiep tmdiep merged commit 82521ee into googleapis:master Dec 3, 2020
@tmdiep tmdiep deleted the internal_pubsub branch December 3, 2020 22:49
tmdiep added a commit to tmdiep/google-cloud-go that referenced this pull request Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants