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

[X] Delay binding context type check until relative binding source is resolved #25600

Conversation

simonrozsival
Copy link
Member

@simonrozsival simonrozsival commented Oct 30, 2024

Description of Change

We are checking if the binding context type matches the declared x:DataType too early. We need to wait until we resolve relative source otherwise the binding doesn't work.

Fixes #25608

/cc @PureWeen @StephaneDelcroix

@simonrozsival simonrozsival requested a review from a team as a code owner October 30, 2024 11:53
@simonrozsival simonrozsival requested review from jsuarezruiz, tj-devel709, StephaneDelcroix and PureWeen and removed request for a team October 30, 2024 11:53
@simonrozsival simonrozsival force-pushed the dev/simonrozsival/fix-relative-bindings-runtime-check-for-type-mismatch branch from 4a0d2f6 to bdbabd1 Compare October 30, 2024 13:55
@simonrozsival simonrozsival requested a review from a team as a code owner October 30, 2024 13:55
@simonrozsival simonrozsival changed the base branch from release/9.0.1xx to main October 30, 2024 13:55
@PureWeen PureWeen added this to the .NET 9 SR1 milestone Oct 30, 2024
@PureWeen
Copy link
Member

/backport to release/9.0.1xx

Copy link
Contributor

Started backporting to release/9.0.1xx: https://github.com/dotnet/maui/actions/runs/11598728541

jsuarezruiz
jsuarezruiz previously approved these changes Oct 31, 2024
Copy link
Member

@jonathanpeppers jonathanpeppers left a comment

Choose a reason for hiding this comment

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

Changes here look ok, but the CI is yellow, so not sure if it actually completed yet.

@rmarinho
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@StephaneDelcroix StephaneDelcroix merged commit ff86add into main Nov 4, 2024
107 checks passed
@StephaneDelcroix StephaneDelcroix deleted the dev/simonrozsival/fix-relative-bindings-runtime-check-for-type-mismatch branch November 4, 2024 15:16
@github-actions github-actions bot locked and limited conversation to collaborators Dec 5, 2024
@samhouts samhouts added fixed-in-9.0.10 fixed-in-net8.0-nightly This may be available in a nightly release! labels Dec 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fixed-in-9.0.10 fixed-in-net8.0-nightly This may be available in a nightly release!
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Binding context type check fails for relative binding sources
7 participants