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

Setup legacy mappers #18087

Merged
merged 3 commits into from
Oct 24, 2023
Merged

Setup legacy mappers #18087

merged 3 commits into from
Oct 24, 2023

Conversation

PureWeen
Copy link
Member

@PureWeen PureWeen commented Oct 17, 2023

Description of Change

We obsoleted the ControlsMappers because they were causing issues when the application was AOT'd #13836. This change disconnected the controls mappers completely from the core mappers, which meant that if someone was wiring into these their code would stop executing.

This PR takes a minimal approach to proxy mapper modifications from the ControlsMapper to the Core mappers in order to not break users when they update to NET8.

If someone is wiring into the ControlsMappers inside MauiProgram before any of the builder extension methods are called their code still won't run. That path was already unreliable and broken with AOT.

Issues Fixed

Fixes #18059

@PureWeen PureWeen requested review from mattleibow and hartez October 17, 2023 18:33
@samhouts samhouts added this to the .NET 8 GA milestone Oct 18, 2023
@PureWeen PureWeen force-pushed the account_for_legacy_mappers branch from ef0f6cf to 7013783 Compare October 23, 2023 17:27
@PureWeen PureWeen force-pushed the account_for_legacy_mappers branch from 7013783 to 72437c2 Compare October 23, 2023 19:30
@PureWeen PureWeen changed the base branch from main to net8.0 October 23, 2023 19:31
@PureWeen PureWeen marked this pull request as ready for review October 23, 2023 19:37
@PureWeen PureWeen requested a review from a team as a code owner October 23, 2023 19:37
@PureWeen PureWeen merged commit d5cb0cd into net8.0 Oct 24, 2023
@PureWeen PureWeen deleted the account_for_legacy_mappers branch October 24, 2023 19:18
@PureWeen
Copy link
Member Author

/backport to release/8.0.1xx-rc2.2

@github-actions
Copy link
Contributor

Started backporting to release/8.0.1xx-rc2.2: https://github.com/dotnet/maui/actions/runs/6631559086

@github-actions github-actions bot locked and limited conversation to collaborators Dec 5, 2023
@samhouts samhouts added the fixed-in-8.0.100-rc.2.9530 Look for this fix in 8.0.100-rc.2.9530 label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fixed-in-8.0.100-rc.2.9530 Look for this fix in 8.0.100-rc.2.9530
Projects
None yet
3 participants