Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obsolete CompiledBindingPathBuilder.SetRawSource #16505

Merged

Conversation

MrJul
Copy link
Member

@MrJul MrJul commented Jul 28, 2024

What does the pull request do?

CompiledBindingPathBuilder.SetRawSource() doesn't do anything anymore after the binding system refactor (#13970) in 11.1.
Setting Binding.Source is the expected and straightforward way.

Apparently, SetRawSource() hasn't been used at all by the XAML compiler since #5052.
Only users using it explicitly in C# were affected (hopefully a low number), see #16430.

CompiledBindingPathBuilder.SetRawSource() is now obsolete.
Remaining RawSource-related types have been removed from the XAML compiler.

Fixed issues

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.2.999-cibuild0050559-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@maxkatz6
Copy link
Member

Backport?

@MrJul MrJul added the backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch label Jul 29, 2024
@MrJul
Copy link
Member Author

MrJul commented Jul 29, 2024

Backport?

Definitely. I forgot the label.

@maxkatz6 maxkatz6 merged commit 0f4ed21 into AvaloniaUI:master Jul 29, 2024
11 checks passed
@MrJul MrJul deleted the fix/obsolete-compiledbinding-rawsource branch July 31, 2024 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-bindings area-xaml backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom Localisation MarkupExtension broken by 11.1.0
3 participants