Move IQueryAttributable outside of MAUI #17874
Unanswered
michaelstonis
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
IQueryAttributable
is a pretty cool, and underutilized, interface that allows us to pass data when routing to Pages and their view models. This can make it very easy to provide context without having to do constructor injection or anything fun like that. The only issue with this is thatIQueryAttributable
is owned by the MAUI libraries which results in view models always having a hard dependency on it. It would be great if this could somehow be abstracted away or moved to a separate, more generic, place that would not require this dependency. I could see this being helpful for other UI platforms like Blazor, Avalonia, Uno, etc.Beta Was this translation helpful? Give feedback.
All reactions