fix(image_variant): fix image variant tests#6918
Open
syvelasquez10 wants to merge 1 commit into
Open
Conversation
…dd acceptance tests The upstream SDK returns all image variant API responses with data nested under result.variant. Update all CRUD operations (Create, Read, Update, ImportState) to use ImageVariantWriteResultEnvelope which correctly deserializes the nested response structure. - Remove redundant variant computed field from resource schema and model - Remove unused ImageVariantResultEnvelope (flat envelope) - Add ImageVariantWriteResultEnvelope for nested response deserialization - Add acceptance tests for resource (basic, update, import) and data source - Update docs for resource and data source
syvelasquez10
marked this pull request as draft
March 13, 2026 18:21
stainless-app
Bot
force-pushed
the
next
branch
6 times, most recently
from
April 15, 2026 01:43
db5b37e to
34540ed
Compare
syvelasquez10
marked this pull request as ready for review
April 29, 2026 15:32
stainless-app
Bot
force-pushed
the
next
branch
6 times, most recently
from
April 29, 2026 16:55
54323e1 to
ed3bbb2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The upstream SDK returns all image variant API responses with data nested under result.variant. Update all CRUD operations (Create, Read, Update, ImportState) to use ImageVariantWriteResultEnvelope which correctly deserializes the nested response structure.
Changes being requested
Acceptance test run results
Steps to run acceptance tests
Test output
Additional context & links