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: prevent duplicate fragment gen #669

Merged
merged 3 commits into from
Nov 3, 2023

Conversation

noahdietz
Copy link
Collaborator

Prevents duplicate generation of fragments for RPCs that share a request message (not common, but possible).

@noahdietz noahdietz requested review from a team as code owners November 3, 2023 16:56
@bshaffer
Copy link
Contributor

bshaffer commented Nov 3, 2023

If it's not too difficult, I'd love to see a test for this!

@noahdietz
Copy link
Collaborator Author

If it's not too difficult, I'd love to see a test for this!

We don't have any unit tests for this code, but there is one integration test. I will add one with the API that this fix is for once it is in googleapis, if that is OK.

@noahdietz noahdietz added the automerge Merge the pull request once unit tests and other checks pass. label Nov 3, 2023
@noahdietz noahdietz merged commit b25acf0 into googleapis:main Nov 3, 2023
4 checks passed
@noahdietz noahdietz deleted the no-dupe-fragments branch November 3, 2023 19:33
@noahdietz
Copy link
Collaborator Author

If it's not too difficult, I'd love to see a test for this!

We don't have any unit tests for this code, but there is one integration test. I will add one with the API that this fix is for once it is in googleapis, if that is OK.

fwiw I did test it locally against the offending API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge the pull request once unit tests and other checks pass.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants