Skip to content

fix(xamlgen): Set attached property setter when its type is ResourceDictionary - #14040

Merged
jeromelaban merged 6 commits into
unoplatform:masterfrom
Youssef1313:issue/14025
Oct 30, 2023
Merged

jeromelaban merged 6 commits into
unoplatform:masterfrom
Youssef1313:issue/14025

Conversation

@Youssef1313

@Youssef1313 Youssef1313 commented Oct 20, 2023 •

Copy link
Copy Markdown
Member

GitHub Issue (If applicable): closes #14025

PR Type

What kind of change does this PR introduce?

What is the current behavior?

What is the new behavior?

Copilot Summary

🤖 Generated by Copilot at 9dfe6b5

This pull request enhances the Xaml code generator to support attached properties with ResourceDictionary values, and adds a unit test to verify the feature. It also fixes a minor issue with a debugging line in XamlFileGenerator.cs.

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Internal Issue (If applicable):

@github-actions github-actions Bot added the area/code-generation Categorizes an issue or PR as relevant to code generation label Oct 20, 2023

@jeromelaban jeromelaban left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@Youssef1313 it's looking good, can you also add a runtime test that validates that the result is effectively attached? Thanks!

@Youssef1313

Copy link
Copy Markdown
Member Author

@Youssef1313 it's looking good, can you also add a runtime test that validates that the result is effectively attached? Thanks!

Sure.

@Youssef1313

Copy link
Copy Markdown
Member Author

@jeromelaban I think this is ready to merge?

@Youssef1313

Copy link
Copy Markdown
Member Author

@Youssef1313 it's looking good, can you also add a runtime test that validates that the result is effectively attached? Thanks!

Oh, I forgot to address this one. I'll address tomorrow.

@jeromelaban
jeromelaban merged commit 3e68e94 into unoplatform:master Oct 30, 2023
@Youssef1313
Youssef1313 deleted the issue/14025 branch October 30, 2023 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/code-generation Categorizes an issue or PR as relevant to code generation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ResourceDictionary x KeyValuePair convert code generation

3 participants