Skip to content

fix: remove vizHeight and vizWidth from ImageRequestOptions #1565

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
Mar 20, 2025

Conversation

jorwoods
Copy link
Contributor

@jorwoods jorwoods commented Feb 7, 2025

Closes #1564

Retrieving a view image does not support vizHeight and vizWidth serverside. Supporting it for images as well was a mistake.

@jorwoods
Copy link
Contributor Author

jorwoods commented Mar 6, 2025

This functionality was added in the server API version 3.23. Instead of removing these options, need to throw an error that the API version is too low and doesn't support it.

Many filters and RequestOptions added in 3.23. Adds explicit
support for them and checks for prior versions.
@jorwoods jorwoods force-pushed the jorwoods/image_no_hw branch from 0fa709d to 1b6763f Compare March 7, 2025 14:41
@jorwoods jorwoods marked this pull request as ready for review March 7, 2025 14:42
@jorwoods
Copy link
Contributor Author

jorwoods commented Mar 7, 2025

Regarding #1564, TSC was passing query parameters to the server, and the server was quietly ignoring them because those attributes were not yet supported. This PR contains checks to explicitly compare the server version and the parameters being passed to ensure they are supported.

@renoyjohnm renoyjohnm merged commit ba716b9 into tableau:development Mar 20, 2025
22 checks passed
@jorwoods jorwoods deleted the jorwoods/image_no_hw branch March 21, 2025 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants