Skip to content

Conversation

@eljefe223
Copy link
Contributor

Previous Behavior

The node version was causing the CEM analyzer to not write optional enum attributes to the parsedTypes to the CEM output. Based on the current file structure in the web-components package there was no way for it to properly parse them using the option indicator i.e @attr appearance?: ButtonAppearance. Defaulting the value or decortaing it with a required ! fixed the problem but this is not a viable solution. Also keeping the attribute optional ? and defining the enum types inline above the class solved the issue however this is a major refactor and does not follow best practices. This fact pointing the the likelihood of a import issues and typescript. Ultimately updating the node version solved the issue

New Behavior

Optional enum attributes now have there parsedTypes written to the CEM.

Related Issue(s)

  • Fixes #

@eljefe223 eljefe223 requested review from a team as code owners October 3, 2025 16:57
@github-actions github-actions bot added the CI label Oct 3, 2025
@davatron5000 davatron5000 changed the title [Fix] node version to be compaditible with CEM analyzer so parsedTypes get properly written. [Fix] node version to be compatible with CEM analyzer so parsedTypes get properly written. Oct 3, 2025
@github-actions github-actions bot removed the CI label Oct 3, 2025
@github-actions
Copy link

github-actions bot commented Oct 3, 2025

📊 Bundle size report

✅ No changes found

@github-actions
Copy link

github-actions bot commented Oct 3, 2025

Pull request demo site: URL

@eljefe223 eljefe223 merged commit 75362a5 into microsoft:master Oct 3, 2025
13 checks passed
pixel-perfectionist pushed a commit to pixel-perfectionist/fluentui that referenced this pull request Oct 8, 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.

2 participants