Skip to content

fix: Take non-top-level xmlns into account when resolving System.Type properties - #14173

Merged
jeromelaban merged 1 commit into
unoplatform:masterfrom
Youssef1313:issues/14161
Oct 30, 2023
Merged

jeromelaban merged 1 commit into
unoplatform:masterfrom
Youssef1313:issues/14161

Conversation

@Youssef1313

@Youssef1313 Youssef1313 commented Oct 30, 2023 •

Copy link
Copy Markdown
Member

GitHub Issue (If applicable): closes #14161

The PR on its current form resolve the issue for #14161 specifically, I believe there are other cases where this could be broken, e.g, x:Bind

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 2d9970b

This pull request adds support for resolving type names with namespace prefixes in XAML files, as requested in issue #6749. It updates the XamlFileGenerator, XamlFileParser, and XamlObjectDefinition classes to handle namespace resolution for literal values and object definitions. It also adds a new unit test to verify the feature and fixes a compilation error.

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 30, 2023
@jeromelaban
jeromelaban merged commit d6a65e2 into unoplatform:master Oct 30, 2023
@Youssef1313
Youssef1313 deleted the issues/14161 branch October 30, 2023 14:38
@jeromelaban

Copy link
Copy Markdown
Member

@Mergifyio backport release/stable/5.0

@mergify

mergify Bot commented Nov 1, 2023 •

Copy link
Copy Markdown
Contributor

backport release/stable/5.0

✅ Backports have been created

Details

jeromelaban added a commit that referenced this pull request Nov 2, 2023
…5.0/pr-14173

fix: Take non-top-level xmlns into account when resolving `System.Type` properties (backport #14173)
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.

Strict type resolution fails when namespace is not on the top-level element

3 participants