Skip to content

Go: Fix bug in ResponseWriter for variadic MaD #16619

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

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

owen-mc
Copy link
Contributor

@owen-mc owen-mc commented May 29, 2024

getSummaryInputOrOutputNode was giving the summary component stack for arguments corresponding to variadic parameters. This will be a problem when the models for variadic functions are converted to models-as-data.

Note: this has no tests, but it has been extracted from #16592 where it was needed to fix some tests that failed after some models were converted to models-as-data. So I feel this is okay, as it will be tested by that PR.

`getSummaryInputOrOutputNode` was giving the summary component stack for
arguments corresponding to variadic parameters. This will be a problem
when the models for variadic functions are converted to models-as-data.
@owen-mc owen-mc requested a review from a team as a code owner May 29, 2024 20:25
@github-actions github-actions bot added the Go label May 29, 2024
@owen-mc owen-mc added the no-change-note-required This PR does not need a change note label May 29, 2024
Copy link
Contributor

@smowton smowton left a comment

Choose a reason for hiding this comment

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

Looks plausible

@owen-mc owen-mc merged commit 1339836 into github:main Jun 4, 2024
13 of 14 checks passed
@owen-mc owen-mc deleted the go/fix/response-writer-variadic branch June 4, 2024 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Go no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants