Skip to content

Conversation

@stephybun
Copy link
Member

@stephybun stephybun commented Aug 19, 2025

Description

  • Sets an empty object into ResourceIdentity and Resource in the NewListResult method

Rollback Plan

  • If a change needs to be reverted, we will roll out an update to the code within 7 days.

Changes to Security Controls

None

@stephybun stephybun requested a review from a team as a code owner August 19, 2025 12:46
Comment on lines 19 to 22
if v, ok := val.(tftypes.Value); ok {
d.TerraformValue = v
return nil
}
Copy link
Member Author

Choose a reason for hiding this comment

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

We probably want to check that the supplied val actually corresponds to the schema of the object we're setting this too?

Copy link
Member Author

Choose a reason for hiding this comment

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

This has been moved over into #1198 since it's related to that piece of work

@stephybun stephybun force-pushed the f/new-listresult-empty-object branch 2 times, most recently from 074bdbb to d8b708d Compare August 20, 2025 09:27
@stephybun stephybun force-pushed the f/new-listresult-empty-object branch from d8b708d to 588762b Compare August 21, 2025 12:32
@stephybun stephybun merged commit 51dc687 into main Aug 21, 2025
19 of 37 checks passed
@stephybun stephybun deleted the f/new-listresult-empty-object branch August 21, 2025 12:33
@austinvalle austinvalle added this to the v1.16.0 milestone Sep 16, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants