Skip to content

Conversation

@stephybun
Copy link
Member

Description

Adds map, list and single nested blocks and attributes. Deliberately left out support for sets but we could look into adding these if/when there is a specific request for them.

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 12, 2025 10:36
Copy link
Member

@austinvalle austinvalle left a comment

Choose a reason for hiding this comment

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

I left a thread comment continuing some of our slack thread, but the code itself all looks good 👍🏻

// Additionally, the NestedAttribute interface extends Attribute with nested
// attributes. Only supported in protocol version 6. Implementations in this
// package include:
// - ListNestedAttribute
Copy link
Member

Choose a reason for hiding this comment

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

Responding to the description in a thread, not blocking for this PR imo

As a team, we should probably align the attribute/type/block support we want for actions and list, since my understanding is both schemas are identical in what they are used for (configuration). As you noted in the description, the final difference between the two after this PR is all of the set types (SetAttribute, SetNestedBlock, SetNestedAttribute).

If the schemas are being used differently and the usage of the set type isn't possible or would cause issues, then we can at least document it ahead of time for developers / future maintainers that the decision was intentional and not a miss.


If we want to take a general stance that we don't want to support set for new schemas in framework, then we should consider removing the set related attributes/blocks from the action schemas as well.

)

// Ensure the implementation satisifies the desired interfaces.
// Ensure the implementation satisfies the desired interfaces.
Copy link
Member

Choose a reason for hiding this comment

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

Oh no, this spelling error is everywhere 🤣

@stephybun stephybun merged commit e3cf75a into main Aug 12, 2025
37 checks passed
@stephybun stephybun deleted the f/add-remaining-types-to-list branch August 12, 2025 16:04
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 11, 2025
@austinvalle austinvalle added this to the v1.16.0 milestone Sep 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