-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
ViewHandler mapper extension methods won't reliably fire if mapper methods are replaced #6429
Comments
@PureWeen For example: If I use the PropertyMapper constructor that takes a collection of IPropertyMappers:
the order of the chained Mappers (arguments in the constructor) can effect which handler gets called when both mappers override the same key. This is due to the fact that the first handler short circuits the algo.
The Chained search algo above is duplicated in both the The indexer on the I.e. |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Hi @PureWeen. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version. You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Verified this issue with Visual Studio Enterprise 17.9.0 Preview 2. Not repro this issue. |
#4714 (comment)
If you write the following code
These will not fire for
Entry
because theEntryHandler
replaces theMapBackground
mapping on its mapper which means the call never reaches ViewHandler. This also means if we end up adding mappings to for inherited views later on it will cause the users code to stop firing if they had attached to a base class previouslyThe text was updated successfully, but these errors were encountered: