Skip to content

Conversation

@MaryGao
Copy link
Member

@MaryGao MaryGao commented Nov 10, 2025

No description provided.

@MaryGao MaryGao changed the title Flatten support in modular PoC of Flatten support in modular Nov 11, 2025
@MaryGao MaryGao changed the title PoC of Flatten support in modular PoC of flatten support in modular Nov 11, 2025
if (!property.flatten) {
return false;
}
return ["properties"].includes(property.name);
Copy link
Member

Choose a reason for hiding this comment

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

If I understand correctly, this is to only honor the @flattenProperty decorator if the property being flattened is called "property"... Can we just flatten any property decorated with @flattenProperty? The decorator is already deprecated/legacy so that should be enough warning for customers, this way we don't put ourselves into a corner

Copy link
Member

Choose a reason for hiding this comment

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

If we're still concerned about folks using this in a breaking way (e.g. another ARM service with flatten use that would cause conflicts) I think we could add another emitter flag to gate this behavior. I don't believe (though we should check) that Compute specifically has flatten use other than properties

@MaryGao MaryGao changed the title PoC of flatten support in modular Property flatten support in modular Nov 18, 2025
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

Successfully merging this pull request may close these issues.

4 participants