Skip to content

response_format_options missing from ChangeInput struct #179

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

Open
sidju opened this issue Feb 28, 2025 · 2 comments
Open

response_format_options missing from ChangeInput struct #179

sidju opened this issue Feb 28, 2025 · 2 comments

Comments

@sidju
Copy link

sidju commented Feb 28, 2025

https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#change-input

The response_format_options allows for populating some fields in the response that are excluded by-default, without one needs to query again using a method that supports those options if one wants any of those fields.

That field is not present in your struct representing that request body

type ChangeInput struct {

@andygrunwald
Copy link
Owner

@sidju Can you prepare a PR for this?

@sidju
Copy link
Author

sidju commented Mar 6, 2025

#181

That should be the correct format, though it isn't properly tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants