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

Avoid throwing in async void when applying relative source bindings #24780

Conversation

simonrozsival
Copy link
Member

Description of Change

This PR tries to improve DX when using bindings with relative sources on objects that aren't compatible (non-Elements). Previously, we would throw an exception without any explanation inside of async void which was hard to debug and it was unclear why the binding is failing.

Issues Fixed

Contributes to #24313

@simonrozsival simonrozsival requested a review from a team as a code owner September 16, 2024 10:07
@tj-devel709 tj-devel709 added the area-xaml XAML, CSS, Triggers, Behaviors label Sep 16, 2024
@rmarinho rmarinho merged commit 7f955ca into dotnet:net9.0 Sep 24, 2024
121 checks passed
@samhouts samhouts added the fixed-in-net9.0-nightly This may be available in a nightly release! label Oct 1, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Nov 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-xaml XAML, CSS, Triggers, Behaviors fixed-in-net9.0-nightly This may be available in a nightly release!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants